Click here to Skip to main content
15,920,632 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there, I have tried everything mentioned in this article but failed to email to my own email address. I have tried these servers. I am sending an email to my own email address using my email address as recipient.

1. mail.google.com port 25
2. smtp.gmail.com port 25
3. mail.google.com port 465
4. smtp.gmail.com port 465



SQL SERVER - 2008 - Configure Database Mail - Send Email From SQL Database[^]

log report :

The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 2 (2014-07-10T07:46:10). Exception Message: Could not connect to mail server. (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 173.194.117.117:25). )
Posted
Comments
JBobby 10-Jul-14 0:42am    
ok , I have solved it myself :) I user smtp.gmail.com port 587 and it worked.

1 solution

Quote:
ok , I have solved it myself :) I user smtp.gmail.com port 587 and it worked.
Yes, actually Gmail works on port 587.
 
Share this answer
 

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