mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #60217
[Bug 1896554] A patch has been submitted for review
Patch for "master" branch: https://reviews.mahara.org/11299
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1896554
Title:
Cannot send email via SMTP server with self signed certificate
Status in Mahara:
In Progress
Bug description:
Mahara uses PHPMailer for sending emails. The default settings for
PHPMailer are to disallow mail sending (with TLS) if the server has
either a self signed certificate or if peer verification fails. This
can also occur when using port 25 if the mail server is configured to
require TLS to be started.
In these cases the following mail options will allow the mail to be
sent
$mail->SMTPOptions = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
)
);
To allow Mahara to be used with an external mail server in this case
it is proposed to add the following configuration items:
smtpallowselfsigned (default: false)
smtpverifypeer (default: true)
And the above ssl mail options would be set with these new options.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1896554/+subscriptions
References