X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=inc%2Fclasses%2Fthird_party%2Fphp_mailer%2Fexamples%2Ftest_sendmail.php;fp=inc%2Fclasses%2Fthird_party%2Fphp_mailer%2Fexamples%2Ftest_sendmail.php;h=0000000000000000000000000000000000000000;hp=38eb78d592dd2054adfbdb52fdaa480f730293cc;hb=398f4a89ecb5f6ef538e143d5ea84b569fb9d287;hpb=df33e264f3246f80756d7e2da55d7f7c40f9088c diff --git a/inc/classes/third_party/php_mailer/examples/test_sendmail.php b/inc/classes/third_party/php_mailer/examples/test_sendmail.php deleted file mode 100644 index 38eb78d..0000000 --- a/inc/classes/third_party/php_mailer/examples/test_sendmail.php +++ /dev/null @@ -1,37 +0,0 @@ -getFile('contents.html'); -$body = eregi_replace("[\]",'',$body); - -$mail->IsSendmail(); // telling the class to use SendMail transport - -$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!"; -} - -?>