简体   繁体   中英

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.

But, the destination domain domain.com was not properly configured on DNS and none emails were received.

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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