Pretty straightforward. I have my Gmail oauth2 access_token. How can I use PHPMailer to send emails?
很简单。我有我的Gmail oauth2 access_token。如何使用PHPMailer发送电子邮件?
(I do not have SMTP credentials)
(我没有SMTP凭据)
1 个解决方案
#1
0
PHPMailer supports Google's OAuth2 authentication from version 5.2.11; follow this guide.
PHPMailer支持5.2.11版本的Google的OAuth2身份验证;按照本指南。
The next version of PHPMailer (6.0) has substantially revised OAuth2 support that will work with many more services.
下一版本的PHPMailer(6.0)已经大幅修改了OAuth2支持,可以与更多服务一起使用。
#1
0
PHPMailer supports Google's OAuth2 authentication from version 5.2.11; follow this guide.
PHPMailer支持5.2.11版本的Google的OAuth2身份验证;按照本指南。
The next version of PHPMailer (6.0) has substantially revised OAuth2 support that will work with many more services.
下一版本的PHPMailer(6.0)已经大幅修改了OAuth2支持,可以与更多服务一起使用。