PHP中的POP访问 [英] POP access in PHP

查看:107
本文介绍了PHP中的POP访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!


我的问题很简单。我想通过PHP使用POP访问来检查新电子邮件(例如任何gmail帐户)。


我找到了Manuel Lemos的POP访问类( http://www.phpclasses.org/browse/package/2.html


但是,上面的类(pop3) .php)没有提供检查新电子邮件的方法。它确实提供了一种检索信息的方法。


有人可以帮帮我吗?


谢谢,

John

Hi!

My problem is simple. I want to check for new emails (e.g. any gmail account)through PHP using POP access.

I have found one such class for POP access by Manuel Lemos (http://www.phpclasses.org/browse/package/2.html)

However, the above class (pop3.php) doesn''t provide a method to check for new emails. It does provide a method to retrieve a message.

Can someone please help me?

Thanks,
John

推荐答案

嗨johnjames欢迎来到 TSDN


你可以从你正在使用的类中发布函数来读取队列中的邮件..


紫色
Hi johnjames and welcome to TSDN,

can you post the function from the class which you are using to read the mail from the queue..

Purple


谢谢紫色!


我正在使用函数:RetrieveMessage来检索消息。但是,我不知道这条消息是新的还是旧的。


John
Thanks Purple!

I am using the function: RetrieveMessage to retrieve messages. However, I don''t know whether the message is new or old.

John





你可以将类中的RetrieveMessage函数发布到这个帖子中,这样我们就可以看到它是怎么做的了吗


紫色
Hi,

can you post the RetrieveMessage function from the class into this thread so we can see how it is doing it

Purple


这篇关于PHP中的POP访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆