I am using the mail Mailer in Settings - Global Settings > Mail Settings (CMSMS 2.1.2)
When using the "Test" button in Mail Settings, envelope-from is being set to the default user@hostname as specified by my host, and not the value I specify in "From Address". This is having implications for SPF and bounce processing.
Perhaps an extra input field could be added to CMSMS to configure additional_parameters of mail()? Or there is some other solution?
Thanks for any help.
Setting envelope-from when using mail mailer
Re: Setting envelope-from when using mail mailer
You have to check with your host.
I know when sending through gmail, gmail with force the From address to be the email on the account to limit spam and email spoofing, your host might do a similar thing.
I know when sending through gmail, gmail with force the From address to be the email on the account to limit spam and email spoofing, your host might do a similar thing.
Re: Setting envelope-from when using mail mailer
I'm sure the host will just tell me to configure the software. mail() has the ability to set envelope-from, and since it's shared hosting they have to use a standard hostname for all sites as a default for envelope-from.
I can get around this by changing to SMTP, but unfortunately this has proven to be unreliable, so I'm trying to use mail() instead, but envelope-from is proving an issue.
I can get around this by changing to SMTP, but unfortunately this has proven to be unreliable, so I'm trying to use mail() instead, but envelope-from is proving an issue.
Re: Setting envelope-from when using mail mailer
I am having more luck with the sendmail option, with this path:
/usr/sbin/sendmail -fmy@email.address
Does anyone know if I should also include the sendmail "-t" and "-i" flags in the sendmail path, as php mail is configured to do?
/usr/sbin/sendmail -fmy@email.address
Does anyone know if I should also include the sendmail "-t" and "-i" flags in the sendmail path, as php mail is configured to do?