✉️SMTP Mailer
Class Features
Creates MIME multipart message for text, HTML and file attachments
Support for STARTTLS/TLS (default) and non-secured connections
Support for OAuth 2.0 and basic authentication
Query DNS for highest priority MX record if SMTP host not specified
The mail header X-Mailer is automatically added to identify the sending application.
To obtain an access token for servers which require OAuth 2.0 authentication, you may use the free and easy to use Simple OAuth 2.0 Framework for Authentication.
Prerequisites
Example
Last updated