简体   繁体   中英

4 Minute Delay Between New User Registration and Receipt of Activation Email

I am using a PHP/MySQL login script that sends a new user an activation email. When a new user registers, the info is put into MySQL pretty much instantly, but then it takes about 4 minutes for the activation email to arrive in the new user's inbox.

It seems like sites like Facebook and Twitter can get out an activation email instantly when a new user registers. Is there anything that I could do to make the activation email that I'm using arrive instantly or really fast?

Thanks in advance,

John

This really depends on the mail servers between your web host and user's inbox. There can be intentional delays (eg greylisting ) set up, and possibly applied only to less trustworthy host (eg not Facebook/Twitter). You might want to check you mailserver settings and make sure you have all the server addresses, hostnames and reverse DNS set up correctly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM