West Wind Internet and Client Tools
wwSMTP for emailing with SSL
Gravatar is a globally recognized avatar based on your email address. wwSMTP for emailing with SSL
  Chris ODonnell
  All
  Aug 27, 2020 @ 01:37pm

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.
Gravatar is a globally recognized avatar based on your email address. re: wwSMTP for emailing with SSL
  Rick Strahl
  Chris ODonnell
  Aug 27, 2020 @ 02:54pm

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 ---

Gravatar is a globally recognized avatar based on your email address. re: wwSMTP for emailing with SSL
  Chris ODonnell
  Rick Strahl
  Aug 27, 2020 @ 06:00pm

Thanks for the reply. I thought i had purchased a 5 version, but they appear to be two different versions of 4x. It looks like buying v7 gets me 6/5/4 as well. Will check it out.

© 1996-2024