문제

I need to track when the mail leave out my server to know possible issues:

  • Recipient inbox is full;
  • Recipient's server rejected
  • whatever..

The main problem is: how?

Currently I use a CentOS server. I can track only if my server receive and queue the mail to sent, but not the process of sending it self.

Is it a issue which could not be solved with PHP? Where should I start follow?

도움이 되었습니까?

해결책

As mentioned in the comments above, one way is to check your mail server's logs. These will show whether or not the receiving MTA accepted delivery, or if delivery failed for some reason.

Another way is to send the message from your PHP script using phpmailer, through a hosted SMTP server which provides you with delivery information, such as http://www.sendgrid.com or http://www.ultrasmtp.com.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top