Click here to Skip to main content
15,789,698 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,
I want to send a mail using database configuration...
I added a profile and account with basic authentication
username and password.
And used in correct server and port...But i got the following error when send a mail.

The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 13 (2015-03-06T11:58:15). Exception Message: Could not connect to mail server. (An attempt was made to access a socket in a way forbidden by its access permissions )

Pls do the needful...Thanks in advance...

King Fisher 6-Mar-15 1:49am    
Did you googled about your error?

Check whether you have valid email or not?
ThangamSundar 6-Mar-15 2:11am    
Ya...its shows to check the firewall...
checked...not working...
and i used correct email id only...
King Fisher 6-Mar-15 2:30am    
Did you referred this Article and Done all step .Please make sure that.
Click me
John C Rayan 6-Mar-15 4:17am    
What's the mail server you are using? Make sure you could connect to the mail server from your database server. You try to ping it at first instance.

1 solution

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