Re: STMP and SSL - WeOnlyDo Discussion board

Re: STMP and SSL (General questions)

by amirsky, Monday, March 29, 2010, 11:52 (5352 days ago) @ wodDamir

Sorry for the confusion we are using stmp here is our code, any thoughts? We think it might be realted to SSL on our wodwebserver because re recently started running wodwebserver with an SSL certificate and we then started getting the error printed below the the catch block saying Server does not support SSL. :

Dim smtp As New WODSMTPCOMLib.wodSmtpCom
smtp.LicenseKey = some license
smtp.Authentication = WODSMTPCOMLib.SmtpAuthentications.AuthLogin
smtp.Security = WODSMTPCOMLib.SmtpSecurityEnum.SecurityRequired

smtp.Hostname = some host
smtp.Login = some login
smtp.Password = some password
smtp.Blocking = True
smtp.Timeout = 10
'smtp.Connect()

Try
smtp.SendSimple(from, toEmail, subject, body)
Catch ex As Exception
Console.WriteLine( Error sending email to: + toEmail)
Console.WriteLine( Error message: + ex.Message)
Return False
End Try


Complete thread: