updated misleading comment on sample for smtp/google via xoauth2 #890 (#1019)

* updated misleading comment on sample code for smtp.google.com via xoauth2

* undo change on gitignore
This commit is contained in:
Haci Murat Yaman 2017-04-03 18:25:48 +01:00 committed by Marcus Bointon
parent 7115df4a6f
commit 1f974d0ab3
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ $mail->SMTPAuth = true;
//Set AuthType
$mail->AuthType = 'XOAUTH2';
//User Email to use for SMTP authentication - Use the same Email used in Google Developer Console
$mail->oauthUserEmail = "someone@gmail.com";
//User Email to use for SMTP authentication - user who gave consent to our app
$mail->oauthUserEmail = "from@gmail.com";
//Obtained From Google Developer Console
$mail->oauthClientId = "RANDOMCHARS-----duv1n2.apps.googleusercontent.com";