This is part of the code from my order processing web page:
Code: Select all
// Version 1.9 (was)
oSmtp := SMTPClient():new( Alltrim(cSMTPServer), 2525, 'donnay-software.com' )
// This required running STUNNEL.EXE which listened on port 2525 of LocalHost and rerouted to port 465 of smtp.gmail.com
// If STUNNEL.EXE was not running the mail would not be sent. This happened several times.
// Version 2.0 (is)
oSmtp := SMTPClient():new( Alltrim(cSMTPServer), 465, 'donnay-software.com' )
I simply changed the CXP code and that was all.
The next time the OrderProcess.Cxp page was called, it was automatically compiled into a DLL and ran the new code.