wwSMTP::lUseSsl

Determines if a secure connection using SSL/TLS should be used for this mail request.

Many mail servers today require secure connections, especially many of the online mail services most notable gmail.

loSmtp.nMailMode = 0 && required!

loSmtp.cMailServer = "smtp.gmail.com:587"
loSmtp.lUseSsl = .T.

loSmtp.cUsername = "ricks25"
loSmtp.cPassword = "secret01"

You should only use this option if the mail server supports it. Check your ISP's mail service configuration options for your mail client to find out whether SSL or TLS is required for sending messages.

Default Value

Initial value: .f.

Remarks

nMailMode has to be set to 0 (.NET mode) in order to use this feature.

See also:

Class wwSMTP

© West Wind Technologies, 1996-2019 • Updated: 06/20/18
Comment or report problem with topic