X-Git-Url: https://git.mxchange.org/?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;hb=7150c6d1a1e3c91d3cfd2e732b26bbe9f0dc4f57;hp=38eb78d592dd2054adfbdb52fdaa480f730293cc;hpb=12dbc1af8f0bc2981711b17c7c955f270c440b35;p=hub.git 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 38eb78d59..000000000 --- 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!"; -} - -?>