]> git.mxchange.org Git - mailer.git/blobdiff - inc/phpmailer/examples/test_gmail.php
Code style changed, ext-user continued:
[mailer.git] / inc / phpmailer / examples / test_gmail.php
index 553976f76f3ed72c684ecebed226dd123e43203c..69f2f7c128069353239df231ef55f847133ed3e3 100644 (file)
@@ -9,7 +9,7 @@ $body             = $mail->getFile('contents.html');
 $body             = eregi_replace("[\]",'',$body);
 
 $mail->IsSMTP();
-$mail->SMTPAuth   = true;                  // enable SMTP authentication
+$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
@@ -34,7 +34,7 @@ $mail->AddAddress("whoto@otherdomain.com", "John Doe");
 
 $mail->AddAttachment("images/phpmailer.gif");             // attachment
 
-$mail->IsHTML(true); // send as HTML
+$mail->IsHTML(TRUE); // send as HTML
 
 if(!$mail->Send()) {
   echo "Mailer Error: " . $mail->ErrorInfo;