X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fthird_party%2Fphp_mailer%2Fexamples%2Ftest_gmail.php;fp=inc%2Fclasses%2Fthird_party%2Fphp_mailer%2Fexamples%2Ftest_gmail.php;h=0000000000000000000000000000000000000000;hb=398f4a89ecb5f6ef538e143d5ea84b569fb9d287;hp=4592efc1932bcb786558adb204027edfa31a8fbc;hpb=df33e264f3246f80756d7e2da55d7f7c40f9088c;p=shipsimu.git
diff --git a/inc/classes/third_party/php_mailer/examples/test_gmail.php b/inc/classes/third_party/php_mailer/examples/test_gmail.php
deleted file mode 100644
index 4592efc..0000000
--- a/inc/classes/third_party/php_mailer/examples/test_gmail.php
+++ /dev/null
@@ -1,50 +0,0 @@
-getFile('contents.html');
-$body = eregi_replace("[\]",'',$body);
-
-$mail->IsSMTP();
-$mail->SMTPAuth = true; // enable SMTP authentication
-$mail->SMTPSecure = "ssl"; // sets the prefix to the servier
-$mail->Host = "smtp.gmail.com"; // sets GMAIL as the SMTP server
-$mail->Port = 465; // set the SMTP port for the GMAIL server
-
-$mail->Username = "yourusername@gmail.com"; // GMAIL username
-$mail->Password = "yourpassword"; // GMAIL password
-
-$mail->AddReplyTo("yourusername@gmail.com","First Last");
-
-$mail->From = "name@yourdomain.com";
-$mail->FromName = "First Last";
-
-$mail->Subject = "PHPMailer Test Subject via gmail";
-
-//$mail->Body = "Hi,
This is the HTML BODY
"; //HTML Body
-$mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test
-$mail->WordWrap = 50; // set word wrap
-
-$mail->MsgHTML($body);
-
-$mail->AddAddress("whoto@otherdomain.com", "John Doe");
-
-$mail->AddAttachment("images/phpmailer.gif"); // attachment
-
-$mail->IsHTML(true); // send as HTML
-
-if(!$mail->Send()) {
- echo "Mailer Error: " . $mail->ErrorInfo;
-} else {
- echo "Message sent!";
-}
-
-?>