New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Website registration verification email is rejected by gmail #2843
Comments
Without seeing your code I can't tell what you're doing wrong. |
|
smtp.gmail.com
|
You're doing some very odd things. I don't know why you are renaming PHPMailer's files; that just creates a maintenance hassle for you. You're using You don't need to add a reply-to if it's the same as your from address - PHPMailer will ignore it if you do that anyway, so you can delete the call to You're doing extra validation on If you want to send email from a gmail address, you must send through google's servers. You say you're doing that, however, I see that you're using conventional password auth, which gmail no longer allows. Can you post debug output with |
ok, i'll take care of it, thanks~ |
It could be that you lack some permissions in the mailbox. Did you use the key that Gmail generates for the account access? |
The website built on the Linux system uses phpmailer to use gmail as the registration verification code to send the email, but it will still be rejected by other gmail mailboxes. Checking the log shows that the email is sent on behalf (SPF and DKIM are not passed), and the gmail error is 550 7.5. 26, but I have already done the deployment of gmail according to the tutorial, how to deal with it. thanks~
==============error log============
host gmail-smtp-in.l.google.com[142.250.138.26] said:
550-5.7.26 This message does not pass authentication checks (SPF and DKIM
both 550-5.7.26 do not pass). SPF check for [aspades.xyz] does not pass
with ip: 550-5.7.26 [75.127.7.127].To best protect our users from spam, the
message has 550-5.7.26 been blocked. Please visit 550-5.7.26
https://support.google.com/mail/answer/81126#authentication for more 550
5.7.26 information. 23-20020aca1117000000b00354eb46fddfsi4821773oir.110 -
gsmtp (in reply to end of DATA command)
The text was updated successfully, but these errors were encountered: