Native email support (SMTP Client)
Two new objects SMTPClient and MimeMessage are added for native
email support with the following features:
-
Enables direct interaction with email servers for email
services. -
Supports SMTP and SMTPS protocols.
-
Supports HTML and plain text format.
-
Supports using any of the following connection types: None
(Plain text); STARTTLS, and Auto STARTTLS. -
Supports these authentication types: None, Auto, CRAM-MD5,
LOGIN, PLAIN, NTLM, and XOAUTH2. For the XOAUTH2 authentication,
you can specify the XOAUTH2 access token for the SMTPClient
object; The other authentication types are automatically detected
when the client connects to the server. -
Supports sending emails in asynchronous mode.
-
Supports sending emails via proxy server.
Two new runtime files are added for native email support:
pbsmtpclient.dll, libcurl8_0_1.dll.
For the latest documentation, please refer to the section called “About SMTP” in Application Techniques. For
example scripts on using SMTP for different scenarios, please refer to
the section called “Using SMTP” in Application Techniques.