1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
This guide explains how to use PHPMailer with our Web hostings and a managed Cloud Server.
PHPMailer is a library which allows emails to be sent from a website in HTML format. This particularly allows the management of attachments, and supports SMTP authentication and the multipart/alternative for clients who can not read emails in HTML.
To use PHPmailer, it must be installed manually:
- download the PHPmailer library: https://github.com/PHPMailer/PHPMailer
- copy files to a directory on your website via FTP (to find out more)
- create a link between your script and PHPmailer. For example:
In the event of an issue with PHPMailer and PHP 5.6, the following option will need to be added in the PHPMailer class parameters:
$mail->SMTPOptions = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true