So I wish I had found this sooner.. Been having issues with this which were compounded by my webhost's own issues with delivering my domain based e-mails..
I made the changes as per Solution 2, but I am finding that UNLESS I have an email address in the "Custom Reply To" field, that I get bounce back messages upon form submission like this one:
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
(ultimately generated from email@example.com)
SMTP error from remote mail server after end of data:
host mailin-04.mx.aol.com [18.104.22.168]: 521 5.2.1 :
AOL will not accept delivery of this message.
------ This is a copy of the message, including all the headers. ------
Received: from myhostingaccount by biz150.yourhosting.com with local (Exim 4.82)
for firstname.lastname@example.org; Mon, 09 Jun 2014 07:49:04 -0700
Subject: Over the Hill Web Consulting Contact: Third one more test
Date: Mon, 9 Jun 2014 14:49:04 +0000
From: Sonny Crockett <email@example.com>
X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
Content-Type: text/html; charset=UTF-8
one more test
Third one more test
Akismet Spam Check: passed
<div style="background:#eee;border:1px solid gray;color:gray;padding:1em;margin:1em 0;">Sent from (ip address):
Date/Time: June 9, 2014 2:49 pm
Coming from (referer):
Using (user agent):
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
I would obviously prefer to NOT have to manually copy and paste the sender's email address.. Is there a solution to this??