December 14, 2013 at 2:15 pm
I am trying to configure database mail through my gmail. Before it works fine to me but now when I am sending test mail it is not working. The port no I am using is 587. I am using server name
smtp.gmail.com
December 15, 2013 at 7:38 am
"It's not working" doesn't really help us to help you in any way.
What's the exact error message you receive?
December 15, 2013 at 7:48 am
ramana3327 (12/14/2013)
I am trying to configure database mail through my gmail. Before it works fine to me but now when I am sending test mail it is not working. The port no I am using is 587. I am using server namesmtp.gmail.com
For that question, the answer would be to find out what changed. If it was working before and now it doesn't, then something changed. Find that and you'll have your answer.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 16, 2013 at 7:47 am
Actually, I install SQLServer2008R2 developer edition. At that time I configured database mail it works fine to me. After I uninstalled and and re-install the instance again. But this time when I tried to configured the database mail again, the mail is not going. When I see database mail log there is the following message
The mail couldn't send to the recipients because of the mail server failed. Can't 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.
December 16, 2013 at 7:48 am
Actually, I install SQLServer2008R2 developer edition. At that time I configured database mail it works fine to me. After I uninstalled and and re-install the instance again. But this time when I tried to configured the database mail again, the mail is not going. When I see database mail log there is the following message
The mail couldn't send to the recipients because of the mail server failed. Can't 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.
December 16, 2013 at 7:58 am
5.5.1 implies you did not set up your db mail to send the basic authentication to have the username and password:
Lowell
December 18, 2013 at 3:30 pm
I took the first option use the windows authentication
December 19, 2013 at 2:03 pm
If I took Basic authentication and gave gmail account as user name & Gmail account password in the password then it is working fine but if I use windows authentication it is not working. so that means the remaining two options doesn't work.
Instead of gmail account if you took yahoo account shall we use the same port number?
Thanks
December 20, 2013 at 2:53 am
ramana3327 (12/19/2013)
Instead of gmail account if you took yahoo account shall we use the same port number?
Thanks[/quotemail settings depend on your server.
for windows authentication the mail server would be inside your lan -an exchange server.forexample.
to allow anonymous authentication typically thenmail server adds your sql servers IP to its white list and passes any mailnat all coming from that macchine.
Most smtp servers (all?!) SUPPORT basic authentication so thats thenmost common.
Not sure on the mail settings for yahoo mail youd have to goofle it.
Lowell
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply