在没有imap包的情况下从POP3服务器获取PHP中的电子邮件 [英] Obtain Emails in PHP from POP3 server without imap package

查看:57
本文介绍了在没有imap包的情况下从POP3服务器获取PHP中的电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在计算机上安装PHP的imap软件包,因此我需要其他类型的库或某些库来阅读来自POP3服务器(例如Gmail)的电子邮件.

I can't install the imap package of PHP in the machine so I need other type of library or some to read emails from a POP3 server (e.g.: Gmail).

谢谢!

推荐答案

最后,我使用了一个打开套接字的库,并通过此库处理发送命令和接收消息列表.这些命令与可用于通过telnet接收/发送邮件的命令相同.

Finally I used a library that opens a socket and works through this sending commands and receiving lists of messages. The commands are the same that you can use to receive/send mails with telnet.

我希望此回复可以对某人有所帮助.

I hope this response can help someone.

这篇关于在没有imap包的情况下从POP3服务器获取PHP中的电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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