简体   繁体   English

如果从php mail()函数发送的电子邮件返回,它在linux中的位置?

[英]If an email sent from php mail() function returns, where is it located in linux?

I have a page which sends and email to a specific user@domain.com via php mail() function. 我有一个页面,通过php mail()函数发送并通过电子邮件发送到特定的user@domain.com

But, the destination domain domain.com was not properly configured on DNS and none emails were received. 但是,目标域domain.com未在DNS上正确配置,并且未收到任何电子邮件。

Is there any way to grab all those unsent emails? 有没有办法抓住所有未发送的电子邮件?

Is there a location where unsent emails stay? 是否存在未发送电子邮件的位置?

I am using Cpanel, but I have root access on the machine, also. 我正在使用Cpanel,但我也有机器上的root访问权限。

如果它正在运行postfix,请尝试查看mailq和postcat命令。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM