Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm getting this error on my vb.net application after sending the email login notification to 10 users:

- System.Net.Mail.SmtpException: The operation has timed out. at System.Net.Mail.SmtpClient.Send(MailMessage message)

the server that i'm using as a mail server is a linux centos server with postfix configuration ...

note: their is no support to contact for help on my server since i installed the web panel

any suggestion that can help me??

thanks..
Posted
Comments
hypermellow 28-Nov-14 11:15am    
Can you and your users telnet to the mail server on the port your using?
Also, if you're trying to connect on port 25, sometimes antivirus/firewalls are setup to block these connections.
Hidhoud1991 28-Nov-14 11:27am    
the port 25 is blocked by our isp so we opened the port 587 and the server works and we are receiving mail from it but after 10 emails sent from our application the error appears ... is there anything we missed in our smtp server configuration on the server. or it is a server configuration.
hypermellow 28-Nov-14 11:38am    
When operation timeout occurs, try connecting via telnet:
http://www.port25.com/how-to-check-an-smtp-connection-with-a-manual-telnet-session-2/

I don't know too much about mail server setups on linux, but if you can't connect via telnet, then at least your dealing with a server issue.

Hope it helps.

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