For SSL ( gmail server) you need to kink the tipssl library as first
one
is the same parameters with adition to 3 more
FUNCTION HB_SendMail( cServer, nPort, cFrom, aTo, aCC, aBCC, cBody,
cSubject, aFiles, cUser, cPass, cPopServer, nPriority, lRead, lTrace,
lPopAuth, lNoAuth, nTimeOut, cReplyTo, lSSL, CaFile, CAPath )
lSSl -> tell to use ssl
cafile cacert.pem
capath where the openssl certificate are
Regards
Luiz