TSMTPSend.Login
TSMTPSend     

function Login: Boolean;

Unit
SMTPsend

Description
Connects to SMTP server (defined inSMTPhost) and begin SMTP session. (First try ESMTP EHLO, next HELO handshake). Parses ESMTP capabilites and if you specified Username and password and remote server can handle AUTH command, try login by AUTH command. Preffered login method is CRAM-MD5 (if safer!). If all OK, result is true, else result is false.


See also:
AuthDone, AutoTLS, ESMTP, ESMTPcap, ESMTPSize, FindCap, FullResult, FullSSL, Logout, MaxSize, Password, ResultCode, ResultString, SystemName, Username, IPInterface, TargetHost, TargetPort, TTCPBlockSocket