php 使用gmail发送邮件之---gmail授权申请开通
php 使用gmail发送邮件之---gmail授权申请开通
授权申请6步走,轻松搞定Gmail发送邮件
PHP 的代码不在这里详细说明,本文主要是针对,Gmail授权码申请
01) Select your profile icon in the upper-right of Gmail, then select Manage Google Account.
02) Select Security in the left sidebar.
03) Select App passwords under the Signing into Google section. You'll then be asked to confirm your Gmail login credentials
!!! Tip: If you don't see App passwords as an option, you must first turn on 2-Step Verification for Gmail.
04) Under Select app, choose Mail or Other (Custom name), then select a device.
05) Select Generate.
06) Your password will appear in a new window. Follow the on-screen instructions to complete the process, then select Done
成功三张图(这里显示三个账号成功后的截图)
07) Managing App-Specific Passwords
If you need to create a new app-specific password for a program or service, go back to the App Passwords screen to delete the old password that you previously set up but no longer use for the same application.
The value of an application-specific password is that you can revoke and regenerate a password on a service-by-service basis instead of having to change the main password to your account. It's best practice to use an app-specific password only for a single service. You are free to generate as many app-specific passwords as you like
其他01:
上面过程可能使用到的链接地址:
https://support.google.com/mail/answer/7126229?authuser=1&authuser=1&hl=en&authuser=1&visit_id=637411909974526148-4283009967&rd=2 https://support.google.com/mail/answer/7126229?p=BadCredentials&visit_id=637411909974526148-4283009967&rd=2#cantsignin
其他02:
其他参考地址: