Home Tags Mailer

Tag: Mailer

Symfony

How to disable certificate validation in Symfony Mailer

To disable certificate validation "verify_peer", edit file: symfony/mailer/Transport/Smtp/EsmtpTransportFactory.php Search line: if ('' !== $dsn->getOption('verify_peer') && !filter_var($dsn->getOption('verify_peer', true), FILTER_VALIDATE_BOOLEAN)) { and replace with this line or set true to...
PHPMailer

PHPMailer Disable SMTP SSL Certificate Verification in PHP

How to disable checking of the mail serves certificate in PHPMailer code SMTP Options $mail->SMTPOptions = ]; If you have any questions, write your question bellow in...
Google Translator