You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Recently I faced a problem that I need to set SMTPOptions property for PHPMailer for some specific reasons. In fact, this is rather rare case, but still. I need to set $mailer->SMTPOptions = $this->smtp_config['options']; and these options look like 'options' => ['ssl' => ['allow_self_signed' => true, 'verify_peer' => false, 'verify_peer_name' => false]].
I overrided the Component::reconfigureDriver() method and set my wrapper as the application component class, but I believe that this is worth adding to the plugin core code. I can make a pull request.
Best regards,
Ivan
The text was updated successfully, but these errors were encountered:
Hi,
Recently I faced a problem that I need to set SMTPOptions property for PHPMailer for some specific reasons. In fact, this is rather rare case, but still. I need to set
$mailer->SMTPOptions = $this->smtp_config['options'];
and these options look like'options' => ['ssl' => ['allow_self_signed' => true, 'verify_peer' => false, 'verify_peer_name' => false]]
.I overrided the Component::reconfigureDriver() method and set my wrapper as the application component class, but I believe that this is worth adding to the plugin core code. I can make a pull request.
Best regards,
Ivan
The text was updated successfully, but these errors were encountered: