Asked by:
Email is not going to group email id from Database mail

-
text/html 8/12/2011 4:53:03 PM guest369 0
Question
All Replies
-
text/html 8/12/2011 5:05:58 PM Nag Pal 0
Hi
For Group Account you have to Give the complete smtp address.. on your outlook goto the properties of your group account and click the e-mail address tab
User the SMTP: [email protected]
Nag Pal MCTS/MCITP (SQL Server 2005/2008) :: Please Mark Answer/vote if it is helpful :: -
text/html 8/12/2011 5:09:59 PM guest369 0
-
text/sourcefragment 8/12/2011 5:18:05 PM Nag Pal 0
check the status of message sent..
USE msdb ; GO -- Show the subject, the time that the mail item row was last -- modified, and the log information. -- Join sysmail_faileditems to sysmail_event_log -- on the mailitem_id column. -- In the WHERE clause list items where danw was in the recipients, -- copy_recipients, or blind_copy_recipients. -- These are the items that would have been sent -- to danw. SELECT items.subject, items.last_mod_date ,l.description FROM dbo.sysmail_faileditems as items INNER JOIN dbo.sysmail_event_log AS l ON items.mailitem_id = l.mailitem_id WHERE items.recipients LIKE '%danw%' OR items.copy_recipients LIKE '%danw%' OR items.blind_copy_recipients LIKE '%danw%' GO
Nag Pal MCTS/MCITP (SQL Server 2005/2008) :: Please Mark Answer/vote if it is helpful :: -
text/html 8/12/2011 6:55:36 PM guest369 0
-
text/html 8/12/2011 7:12:56 PM Nag Pal 0
-
text/html 8/12/2011 7:43:36 PM guest369 0
-
text/html 8/12/2011 8:01:13 PM Nag Pal 0
It is an View you can check the message for each mail., Please check the below link for more detail
http://msdn.microsoft.com/en-us/library/ms178014.aspx
Nag Pal MCTS/MCITP (SQL Server 2005/2008) :: Please Mark Answer/vote if it is helpful :: -
text/html 8/12/2011 8:22:33 PM guest369 0
It's inserting NULL vlaue for mailitem_id as follows. Also it's not showing anything specific for a particular log.
1 information 2011-08-12 09:42:52.247 DatabaseMail process is started 3492 NULL NULL 2011-08-12 09:42:52.247 xyz
2 information 2011-08-12 09:52:52.860 DatabaseMail process is shutting down 3492 NULL NULL 2011-08-12 09:52:52.860 xyz
3 information 2011-08-12 10:33:03.373 DatabaseMail process is started 3380 NULL NULL 2011-08-12 10:33:03.373 xyz -
text/html 8/12/2011 8:55:07 PM Nag Pal 0
Can you please cross check the permissions rights on MSDB Database.
Configuration component has two sub components. One is the Database Mail account, which contains information such as the SMTP server login, Email account, Login and password for SMTP mail.
The Second sub component is Database Mail Profile. Mail profile can be Public, meaning members of DatabaseMailUserRole in MSDB database can send email.)
you need to create account both in your SQL Server and MSDB database and grant it DatabaseMailUserRole public role before your configuration will work. So go to the Security section under management in Management Studio and the new security section within MSDB to create the account with the right permissions. Hope this helps. got this information from one of the asp forum.
Nag Pal MCTS/MCITP (SQL Server 2005/2008) :: Please Mark Answer/vote if it is helpful :: -
text/html 3/14/2012 2:42:03 PM Nightingale99 0
Hello Nag Pal ,
I'm getting this same kind of issue . All the profiles are working fine . Its just one group id that's not working but I can send email to that group through oputlook but sp_send_dbmail wont send any emails. 'sysmail_mailitems' and 'sysmail_log' are all showing messages email sent sucessfully. There is no Error messages anywhere but no one is receiving emailo for this one particular group.
Would appreciate you're sugesstion
Regards,
-
text/html 1/15/2013 12:51:32 PM Scott8121 0