Click here to Skip to main content
13,096,798 members (83,652 online)
Rate this:
Please Sign up or sign in to vote.
Hi guys,

I want to send Email from SQL Server 2005,
I create Profile and Account by using SQL Server Management,
I used this Stored Procedure:
EXEC msdb.dbo.sp_send_dbmail
				@profile_name = 'MyProfileName',
				@recipients = '',
				@subject = 'New Islamic Topics',
				@body_format = 'HTML',    
				@body = 'Welcome in my Website.';

every thing is work nice and this message appear 'Mail queued.' when run the Procedure msdb.dbo.sp_send_dbmail,

but the Email not received when i open my email nor in Junk mail,

I try every thing but no way, this the error message from log:

The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 4 (2012-10-09T09:09:03). Exception Message: Cannot send mails to mail server. (The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at).
Posted 8-Oct-12 17:56pm
Updated 8-Oct-12 21:12pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

MrProgrammer_78 31-Oct-12 2:13am
Thank man, but how to reach this setting >> HT server configuration ??
snehasish nandy 31-Oct-12 2:16am
@MrProgrammer_78: just check this link once

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 31 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100