Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

database mail in sql 2005

Status
Not open for further replies.

junkmail

Programmer
Jan 7, 2001
134
US
I have setup a job in SQl 2005 to send out an email to a bunch of people but I have them all individually listed in the email. Is there a way to have it use a "group" instead of individual names? I am using "EXEC msdb.dbo.sp_send_dbmail" to send out the emails.
 
If you're referring to Outlook groups, then you need to ensure that the SMTP account that is sending the e-mail has an exchange account (They have to have identical names). Also, ensure that the account is using windows authentication not username/password. If you have to change any of these settings, make sure to restart the SQL Agent Job.

This post spells it out:

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top