Click here to Skip to main content
15,886,100 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
am getting below error massage


Message
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 2 (2015-10-18T00:42:18). 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.7.0 Must issue a STARTTLS command first. pk2sm27875226pbb.21 - gsmtp).
)
Posted

1 solution

When you configure the mail account, you need to tick the "This server requires a secure connection (SSL)" option.

How to configure SQL Server Database Mail to send email using your Windows Live Mail Account or your GMail Account | MSDN Blogs[^]
 
Share this answer
 
Comments
Member 12076614 21-Oct-15 12:14pm    
Hi follow error am getting my mail.. Can pls help me out

Sign-in attempt prevented
Hi Chowdari,
Someone just tried to sign in to your Google Account chowdari.ld@gmail.com from an app that doesn't meet modern security standards.
Details:
Wednesday, October 21, 2015 9:20 PM (India Standard Time)
Telangana, India*
We strongly recommend that you use a secure app, like Gmail, to access your account. All apps made by Google meet these security standards. Using a less secure app, on the other hand, could leave your account vulnerable. Learn more.

Google stopped this sign-in attempt, but you should review your recently used devices:

REVIEW YOUR DEVICES NOW
Best,
The Google Accounts team
*The location is approximate and determined by the IP address it was coming from.
This email can't receive replies. For more information, visit the Google Accounts Help Center
Richard Deeming 21-Oct-15 12:17pm    
You can configure the setting in GMail:
https://www.google.com/settings/security/lesssecureapps[^]

Otherwise, you'll have to create an app-specific password for SQL to use:
https://support.google.com/accounts/answer/185833?hl=en[^]

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900