X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fthird_party%2Fphp_mailer%2Fexamples%2Ftest_smtp.php;fp=inc%2Fclasses%2Fthird_party%2Fphp_mailer%2Fexamples%2Ftest_smtp.php;h=0000000000000000000000000000000000000000;hb=398f4a89ecb5f6ef538e143d5ea84b569fb9d287;hp=bc46c6727b1fde50d436918f01ca1b18bac8aa2c;hpb=df33e264f3246f80756d7e2da55d7f7c40f9088c;p=shipsimu.git diff --git a/inc/classes/third_party/php_mailer/examples/test_smtp.php b/inc/classes/third_party/php_mailer/examples/test_smtp.php deleted file mode 100644 index bc46c67..0000000 --- a/inc/classes/third_party/php_mailer/examples/test_smtp.php +++ /dev/null @@ -1,39 +0,0 @@ -getFile('contents.html'); -$body = eregi_replace("[\]",'',$body); - -$mail->IsSMTP(); // telling the class to use SMTP -$mail->Host = "mail.worxteam.com"; // SMTP server - -$mail->From = "name@yourdomain.com"; -$mail->FromName = "First Last"; - -$mail->Subject = "PHPMailer Test Subject via smtp"; - -$mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test - -$mail->MsgHTML($body); - -$mail->AddAddress("whoto@otherdomain.com", "John Doe"); - -$mail->AddAttachment("images/phpmailer.gif"); // attachment - -if(!$mail->Send()) { - echo "Mailer Error: " . $mail->ErrorInfo; -} else { - echo "Message sent!"; -} - -?>