Skip to content

Commit

Permalink
Remove duplicate code from sample code (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
palpalani authored Oct 8, 2023
1 parent 7840223 commit e1b0773
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ add_action('phpmailer_init', function (PHPMailer $mail) {
$mail->SMTPAuth = env('MAIL_USERNAME') && env('MAIL_PASSWORD');
$mail->SMTPDebug = env('WP_DEBUG') ? SMTP::DEBUG_SERVER : SMTP::DEBUG_OFF;
$mail->SMTPSecure = env('MAIL_ENCRYPTION', 'tls');
$mail->SMTPSecure = env('MAIL_ENCRYPTION', 'tls');
$mail->Debugoutput = 'error_log';
$mail->Host = env('MAIL_HOST');
$mail->Port = env('MAIL_PORT', 587);
Expand Down

0 comments on commit e1b0773

Please sign in to comment.