PHP mail() - how to check a domain?

Does anybody know a trick to check is the mail which was send using PHP mail() function have FROM: header added, that is pointing to domain which is listed in /etc/localdomains (but isn't a hostname)?

We are using PHP without suExec.

PHP mail() - how to check a domain?

 

 

 

 

Top