An SMTP client requires an SMTP URL of the following form:
Non-secure Client: ‘smtpl://<smtp server address>’
Secure Client: ‘smtpsl://<smtp server address>’A minimal example to send an email looks like the following:
(SstSmtpClient forUrl: ‘smtpsl://<smtp server address>’)
login: ‘username’ -> ‘password’;
sendMail: rfc822String from: fromAddress to: toAddress;
logout
![]() |