I want to know is there a way to restrict email, sent through sendmail (php), to have from-header (envelope, RFC From, Return-path) only from a domain listed in their hosting accounts.
I mean, when a hosting account with domain example.com can only send emails, via php script (phpmailer, newsletter, etc), only if they use a header from someone@example.com. So when they use other domain (eg. someone@gmail.co.uk) in the FROM field, then the php script failed.
Is it possible in cPanel?
Thank you.



LinkBack URL
About LinkBacks
Reply With Quote





