Setting the Return-Path in CMSMailer mail method
Posted: Thu May 07, 2015 9:25 pm
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.
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.