Anyone know when wwSMTP came into existence and whether I can use it with WWC version 4.68? It looks like i need to use the lUseSsl and nMailMode properties that are not available with 4.68 wwIPStuff.
Oddly enough, smtp email fox code that works on a server with an older version of Windows Server does not work on a newer server with a newer OS. Windows firewall has outgoing rules allowing ports 465 and 587 on the new server. Yet I am getting "535 5.7.0 ...authentication rejected" errors on the new server when trying to email.
I was reviewing the page below and it looks like it will address these issues.
Thanks in advance.
https://webconnection.west-wind.com/docs/_4nz0smkox.htm
DO wwSmtp
LOCAL loSmtp as wwSmtp
loSmtp = CREATEOBJECT("wwSmtp")
loSmtp.nMailMode = 0 && .NET Mode required
*** Google SMTP server - requires login and SSL/TLS
loSmtp.cMailServer = "smtp.gmail.com:587"
*** Important for Secure SSL/TLS connections
loSmtp.lUseSsl = .T.
wwSmtp
was created in the 5.x timeframe and the new version that uses SSL requires .NET functionality and wwDotnetBridge
.
I couldn't tell you whether it will work in a 4.68 application as is, but I would think it would. The problem is that some of the other base libraries like wwUtils etc. have changed and that might cause a problem. The good news is that with wwSmtp
there's minimal use of other library code, so it would probably work even with the old libraries.
These are the dependencies:
SET PROCEDURE TO wwDotNetBridge Additive && doesnt have any additional dependencies
SET PROCEDURE TO wwUtils Additive
SET PROCEDURE TO wwAPI ADDITIVE
I suspect even your old wwUtils and wwApi probably work with this as there'
The official answer is this: not officially supported, but you can try and probably make it work.
+++ Rick ---