简体   繁体   中英

How can I automatically create an email address for anyone who signs up at my website?

I know that just about the same thing was asked here: How can I... but I would like to use Google's servers because of blacklisting, is there any way for me to do this?

Basically how can I have Google's servers route/forward the email to a PHP script?

Also, it would be very useful to me if someone has the PHP code itself (if anyone has the script/code in any other programming language then I can do that to).

Thank you all in advance.

You can use Google Apps Enterprise, which has an API for creating users.

Alternatively, you can set all email to go to a single catch-all address and read the To: field when checking email.

Either way, you'll need to read the email using a POP or IMAP client in PHP.

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