Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在 php 中编写这样的脚本来连接到像 gmail.com 这样的邮件服务器并从中获取邮件?
也许这听起来很幼稚,但也许有一个功能可以做到这一点?
PHP 中有IMAP 库。一个快速的谷歌搜索给了我一个如何使用它的例子。
是的,请查看 IMAP http://www.php.net/manual/en/book.imap.php