X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=0.2.1%2Finc%2Fphpmailer%2Fexamples%2Fpop3_before_smtp_test.php;h=b10b5e151d717992e566ccb2ec1cf35cbb1280d4;hb=7bc25dd08431c94ce9edca131d56c1a36b13c28a;hp=794b2a2674133e25d4ee9d9525446e2431d1eeee;hpb=157ee010917df5ca07e6d31b42f67417b2516d74;p=mailer.git diff --git a/0.2.1/inc/phpmailer/examples/pop3_before_smtp_test.php b/0.2.1/inc/phpmailer/examples/pop3_before_smtp_test.php index 794b2a2674..b10b5e151d 100644 --- a/0.2.1/inc/phpmailer/examples/pop3_before_smtp_test.php +++ b/0.2.1/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; + } +?> ++ + +