I am using PHP to generate emails to be sent to members of a club for which I do admin work.
Everything seems to work fine, except that the emails being generated by the mail() call have a Return-path of email@example.com rather than firstname.lastname@example.org, and while I get a copy of the email I send out - so know it's actually going out and it's even properly formatted - some of my recipients are not getting the email.
Those same recipients get regular emails (return-path of email@example.com ) so their emails are valid.
Is there a way to override Return-path in a mail() call so that I can get the generated emails to their destination?
Nothing in the wiki, nothing I can find on the web. There's got to be a way to do this, right?