Page 1 of 1

PHP mailer

Posted: Mon Jan 28, 2019 8:08 am
by rogerl
I have had a problem for some time now where people using yahoo email addresses and sending to recipients at gmail are rejected owing to the DEMARC policy. My host has managed to get us off the SORB blacklist(apparently happens after several emails rejected by gmail) but this issue needs addressing. I came across this in Stack Exchange:

You should never send email on behalf of an @yahoo.com email address. Yahoo has made this crystal clear.

You should always send from a domain you have permission to send from.

To send mail on behalf of an @yahoo.com email address you will need to use your own domain in the "from" field, and use the @yahoo address in the 'reply-to' field.

In my experience, attempting to send from an @yahoo.com email address without having your message originate from an @yahoo.com mail server will ensure your message will be blocked.
Do we need to change the PHP mailer script to cope with this or do you have a fix.
Regards
Roger

Re: PHP mailer

Posted: Mon Jan 28, 2019 8:22 am
by Pablo
You can set the 'from' address in the properties of the form.

Image

Re: PHP mailer

Posted: Mon Jan 28, 2019 10:03 pm
by rogerl
Thanks for that. Have now defined the from address as the Domain default which is also in my list of registered addresses for the site. Also the Host has set up a SPF record for me which will further overcome these issues.
Have done some dummy tests this morning and all have gone through without any issues.
Yay!