Sending Mails Using Smtp - Ssl Options

Hi,

We are sending email using SMTP, but the mail server we are using has a self signed SSL certificate.

Currently, there is no option in the admin panel for this. In all the email programs I use there is :)

I would like to see this added. This can be a checkbox in the backend (Allow self signed certificate).

The code to make this work should be added to the PhpMailerTransport class, and should be:

$this->SMTPOptions = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
)
);

This should be placed in the constructor, above the line:

} elseif ($method == 'sendmail') {

Using servers with self-signed certificates is inherently insecure and should not be used by a commercial enterprise.