Click here to Skip to main content
15,851,387 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. port 25
2. port 25
3. port 465
4. 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 )
JBobby 10-Jul-14 0:42am    
ok , I have solved it myself :) I user port 587 and it worked.

1 solution

ok , I have solved it myself :) I user 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