]> git.mxchange.org Git - mailer.git/blobdiff - inc/phpmailer/docs/use_gmail.txt
Code style changed, ext-user continued:
[mailer.git] / inc / phpmailer / docs / use_gmail.txt
index 7519d7d2f8510ae0972ffd5c3676c13afbda9044..faf98b9f9aa970fcf33f1d5c073ad456a0f2037c 100644 (file)
@@ -11,7 +11,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
@@ -34,7 +34,7 @@ $mail->AddAttachment("/path/to/image.jpg", "new.jpg"); // attachment
 
 $mail->AddAddress("username@domain.com","First Last");
 
-$mail->IsHTML(true); // send as HTML
+$mail->IsHTML(TRUE); // send as HTML
 
 if(!$mail->Send()) {
   echo "Mailer Error: " . $mail->ErrorInfo;