X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fphpmailer%2Fexamples%2Fpop3_before_smtp_test.php;h=794b2a2674133e25d4ee9d9525446e2431d1eeee;hb=3767eef30a9e514e95625e6da22418ab297b204d;hp=b10b5e151d717992e566ccb2ec1cf35cbb1280d4;hpb=d0ab0382dd73638f0bc13a1a3d6f117ec11a203e;p=mailer.git diff --git a/inc/phpmailer/examples/pop3_before_smtp_test.php b/inc/phpmailer/examples/pop3_before_smtp_test.php index b10b5e151d..794b2a2674 100644 --- a/inc/phpmailer/examples/pop3_before_smtp_test.php +++ b/inc/phpmailer/examples/pop3_before_smtp_test.php @@ -1,39 +1,39 @@ - -
--Authorise('pop3.example.com', 110, 30, 'mailer', 'password', 1); - - $mail = new PHPMailer(); - - $mail->IsSMTP(); - $mail->SMTPDebug = 2; - $mail->IsHTML(false); - - $mail->Host = 'relay.example.com'; - - $mail->From = 'mailer@example.com'; - $mail->FromName = 'Example Mailer'; - - $mail->Subject = 'My subject'; - $mail->Body = 'Hello world'; - $mail->AddAddress('name@anydomain.com', 'First Last'); - - if (!$mail->Send()) - { - echo $mail->ErrorInfo; - } -?> -- - - + + +
+Authorise('pop3.example.com', 110, 30, 'mailer', 'password', 1); + + $mail = new PHPMailer(); + + $mail->IsSMTP(); + $mail->SMTPDebug = 2; + $mail->IsHTML(false); + + $mail->Host = 'relay.example.com'; + + $mail->From = 'mailer@example.com'; + $mail->FromName = 'Example Mailer'; + + $mail->Subject = 'My subject'; + $mail->Body = 'Hello world'; + $mail->AddAddress('name@anydomain.com', 'First Last'); + + if (!$mail->Send()) + { + echo $mail->ErrorInfo; + } +?> ++ + +