是否有所有可能的 PHP imap_last_error() 消息的列表?
当发生错误时,imap_last_error() 在 PHP 中返回一个字符串。
我想捕获这些,以便我可以将它们传递到我的应用程序并对其采取行动。问题是,它没有给出错误代码,另外我找不到所有可能出现的错误。
有谁知道我在哪里可以找到这些?目前我知道了
'Unknown Error',
'Too many login failures',
'Login aborted'
,但一定还有更多。
预先感谢各位。
imap_last_error() gives a string return in PHP when an error has occured.
I'd like to capture these so I can pass them to my app and act upon them. Problem is, it doesn't give a error code, additionally I can't find all the possible errors of which may appear.
Does anyone know where I can discover these? Currently I know
'Unknown Error',
'Too many login failures',
'Login aborted'
but there must be more.
Thanks in advance guys.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
下载UW c-client并检查文件
c-client\imap4r1.c.
绝大多数错误消息都是 IMAP 服务器发送的错误消息的复制品。不过,我发现了一些是预先确定的。他们在这里:
Download the UW c-client and check the file
c-client\imap4r1.c
.The great majority of the error messages are reproductions of the error messages the IMAP server has sent. I found a few that were predetermined, though. Here they are: