本文介绍了您可以通过PHP接收电子邮件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道您可以使用PHP发送电子邮件,但是,您可以通过PHP接收电子邮件吗?

I know you can send emails with PHP but, can you receive emails through PHP?

推荐答案

您可以将传入的邮件传递到PHP脚本中,以便直接对其进行处理.Evolt有有关如何设置的文章.如果您想通过向其发送电子邮件来以编程方式激活脚本(例如,对取消订阅用户的新闻邮件的响应),这将很有用.

You can pipe incoming mails into a PHP script so you can process it directly. Evolt has an article on how to setup something like that. This can be useful if you want to activate scripts programmatically by sending Emails to it (like responses to a newsletter mail that unsubscribes the user).

如果您只想使用PHP阅读邮件,则PHP具有本地功能,可以与之通信IMAP,NNTP和POP邮箱.

If you just want to read mails using PHP, PHP has native functions to talk to IMAP, NNTP and POP mailboxes.

这篇关于您可以通过PHP接收电子邮件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 11:29