I would like to set the Return-Path in CMSMailer when using the mail method. Usually, when I use mail() in PHP, I do this by setting the 5th argument (additional_parameters) to something like "-f user@example.com". This is useful for SPF reasons.
However, whenever I set the "From address:" in the CMSMailer settings this just seems to set the From: header and not the -f parameter in additional_parameters. So does CMSMailer support altering the Return-Path?
Thanks in advance.
Setting the Return-Path in CMSMailer mail method
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Setting the Return-Path in CMSMailer mail method
Yes it's possibke. You'll find the answer in the Module help of CMS Mailer.
Re: Setting the Return-Path in CMSMailer mail method
Thanks. So if a module is not sending mail with the return path set correctly, it's down to the module author to make a change, as opposed to setting an option within CMSMailer's admin settings?