STMP and SSL (General questions)
by amirsky, Sunday, March 28, 2010, 19:18 (5353 days ago)
Hi I have wodSTMP, wodHttpDLx, and wodWebServer. I recently got an SSL certificate for my web server. But now when I try to send emails I get the following error message:
Server does not support SSL.
What do I need to do to get around this?
Re: STMP and SSL
by woddrazen, Sunday, March 28, 2010, 19:47 (5353 days ago) @ amirsky
Hi Amirsky,
Your SMTP server probably doesn't support SSL connection. Did you try to send email without using SSL in wodSMTP?
In order to do that you should remove Security Property from your code or set Security Property value to 0 (No security/SSL required)
Let us know ho wit goes.
Regards,
Drazen
Re: STMP and SSL
by amirsky, Sunday, March 28, 2010, 20:26 (5353 days ago) @ woddrazen
I am running the wodwebserver with SSL security. It is a necessity. So how exactly do i send the email without SSL security getting in the way while maintaining SSL security on the server itself?
Re: STMP and SSL
by woddrazen, Sunday, March 28, 2010, 23:33 (5352 days ago) @ amirsky
Amirsky,
wodWebServer is ActiveX component that should be used as HTTP and HTTPS server.
You cannot use it for sending emails. For sending emails you should use some SMTP server. You can try our wodSmtpServer ActiveX component or some other SMTP server. SSL is supported in wodSmtpServer.
Unfortunately wodWebServer is completely different product. So as I mention you cannot use it for sending emails.
Drazen
Re: STMP and SSL
by amirsky, Sunday, March 28, 2010, 23:46 (5352 days ago) @ woddrazen
we've been using wodSMTP is that no good?
Re: STMP and SSL
by woddrazen, Monday, March 29, 2010, 00:00 (5352 days ago) @ amirsky
Amirsky,
wodSMTP is client component which is used to send emails. You are mentioning that you want to use wodWebServer as SSL server.
wodWebServer is HTTP and HTTPS server and cannot be used as SMTP server. You cannot send emails over wodWebServer.
wodSMTP as SMTP client need some SMTP server to send emails. You can use your ISP SMTP server for example or some other SMTP server.
We also have SMTP server componenet. If you like you can use our wodSmtpServer as SMTP server.
Drazen
Re: STMP and SSL
by amirsky, Monday, March 29, 2010, 11:25 (5352 days ago) @ woddrazen
WE had been sending emails fine with wodwebserver and wodstmp. We only need to send not receive. We only began having problems when we introduced SSL security.
Is wodSMTPserver the only solution?
Re: STMP and SSL
by wodDamir, Monday, March 29, 2010, 11:36 (5352 days ago) @ amirsky
Hi Amirsky,
I'm 100 sure that you're not sending e-mails thru wodWebServer. You are most probably either using some other server software, or are connecting to some other server, such as gmail, etc.
wodWebServer doesn't understand SMTP commands at all, and can't be used for sending out e-mails, since it has a completely different purpose (serving web pages).
Can you please check your code? What server are you connecting to (can you please check your hostname property)?
Regards,
Damba
Re: STMP and SSL
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
Re: STMP and SSL
by wodDamir, Monday, March 29, 2010, 11:56 (5352 days ago) @ amirsky
Amirsky,
And the same code worked before?
If you disable Security property, does it work?
The error you are means exactly that. The server you're connecting doesn't support SSL. You will need to enable it in order to connect securely to it.
Regards,
Damba
Re: STMP and SSL
by amirsky, Monday, March 29, 2010, 12:05 (5352 days ago) @ wodDamir
It worked like a charm before SSL. I now set the security to SecurityNone and got the response below.
Server replied with invalid authentication response.
Re: STMP and SSL
by wodDamir, Monday, March 29, 2010, 12:10 (5352 days ago) @ amirsky
Amirsky,
What SMTP server are you connecting to? Is there any chance we could connect there?
If so, you can send us required information to techsupport@weonlydo.com
Also, can you send an e-mail using any other software? Windows Mail, Mozilla Thunderbird?
Regards,
Damba