branched
[mailer.git] / 0.2.1 / inc / phpmailer / examples / test1.php
diff --git a/0.2.1/inc/phpmailer/examples/test1.php b/0.2.1/inc/phpmailer/examples/test1.php
deleted file mode 100644 (file)
index 8093828..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-include_once('../class.phpmailer.php');
-
-$mail    = new PHPMailer();
-
-$body    = $mail->getFile('contents.html');
-
-$body    = eregi_replace("[\]",'',$body);
-
-$mail->From     = "name@yourdomain.com";
-$mail->FromName = "First Last";
-
-$mail->Subject = "PHPMailer Test Subject";
-
-$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");
-
-if(!$mail->Send()) {
-  echo 'Failed to send mail';
-} else {
-  echo 'Mail sent';
-}
-
-?>