* updated misleading comment on sample code for smtp.google.com via xoauth2 * undo change on gitignore
This commit is contained in:
parent
7115df4a6f
commit
1f974d0ab3
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue