Click here to Skip to main content
15,906,272 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
while sending mail using smtp port the error comes like- <pre lang="sql">The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available
]</pre>

what is the solution?
Posted
Updated 5-Jul-11 21:00pm
v2
Comments
Toniyo Jackson 6-Jul-11 3:00am    
Use correct sentence in subject

What is your header ? I thought there was no question here and was going to delete it. The answer is to fix your mail settings so that they connect to the mail server properly. And fix your header so it says something.
 
Share this answer
 
Try telnet on the SMTP IP and PORT

Try HELO commond on the SMTP IP and PORT

I think the server is not available
 
Share this answer
 
v2
The SMTP server is rejecting your request - it could be for many reasons and without more info it is hard to guess - you need to check your security settings, passwords etc. and make sure they match.

[edit Peter_in_2780]remove a line of junk, minor typos[/edit]
 
Share this answer
 
v2

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