mirror of
https://github.com/PHPMailer/PHPMailer.git
synced 2024-09-20 01:52:15 +02:00
Don't need this to demo xoauth
This commit is contained in:
parent
d5615bffb4
commit
e443047d03
@ -113,9 +113,6 @@ $mail->msgHTML(file_get_contents('contentsutf8.html'), __DIR__);
|
|||||||
//Replace the plain text body with one created manually
|
//Replace the plain text body with one created manually
|
||||||
$mail->AltBody = 'This is a plain-text message body';
|
$mail->AltBody = 'This is a plain-text message body';
|
||||||
|
|
||||||
//Attach an image file
|
|
||||||
$mail->addAttachment('images/phpmailer_mini.png');
|
|
||||||
|
|
||||||
//send the message, check for errors
|
//send the message, check for errors
|
||||||
if (!$mail->send()) {
|
if (!$mail->send()) {
|
||||||
echo 'Mailer Error: ' . $mail->ErrorInfo;
|
echo 'Mailer Error: ' . $mail->ErrorInfo;
|
||||||
|
Loading…
Reference in New Issue
Block a user