Hi
I am getting a time out when I try to send email with VB.net using ssl.
It works fine if I disable SSl and use port 25. I have tried enabling SSL and using both port 465 and 587 and every time it times out when I try to send. We use this mail server to send out email with ssl on port 465 daily without any problem.
Any assistance would be greatly apricated
see smtp settings here:
'Setup SMTP Server
Dim Smtp = New SmtpClient
Smtp.Host = Company.SMTPServerName
Smtp.Port = Company.SMTPPort '465
Smtp.DeliveryMethod = SmtpDeliveryMethod.Network
Smtp.Credentials = New Net.NetworkCredential(Company.FromEmailAccount, Company.FromEmailPassword)
Smtp.EnableSsl = Company.EnableSsl ' true
What I have tried:
I have tried using both port 465 and 587 and every time it times out when I try to send.