Skip to content

Commit

Permalink
Update examples/test_smtp_gmail_advanced.php
Browse files Browse the repository at this point in the history
  • Loading branch information
msturdy committed Feb 27, 2013
1 parent ea60bd8 commit e94a9b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/test_smtp_gmail_advanced.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
$mail->Port = 587; // set the SMTP port for the GMAIL server
$mail->Username = "username@gmail.com"; // GMAIL username
$mail->Password = "password"; // GMAIL password
$mail->AddAddress('john.doe@example.com', 'John Doe');
$mail->SetFrom('first.last@example.com', 'First Last');
$mail->AddAddress('Recipient@example.com', 'Recipient Name');
$mail->SetFrom('Sender@example.com', 'Sender Name');
//$mail->AddReplyTo('name@yourdomain.com', 'First Last');
$mail->Subject = 'PHPMailer Test Subject via mail(), advanced';
$mail->AltBody = 'To view the message, please use an HTML compatible email viewer!'; // optional - MsgHTML will create an alternate automatically
Expand Down

0 comments on commit e94a9b3

Please sign in to comment.