But it’s not working. When I hit reply to the email I’m replying to myself instead of the email address entered into the form.
Looking at the email I’m getting, reply to is being set in the headers, so I’m lost:
Why doesn’t it reply to the Reply-To address when I hit reply, instead I’m replying to myself.
Here are the email headers, just in case (my details have been changed)
Return-Path: <[email protected]>
Received: from https://www.mysite.com([XX.XXX.XX.XX])
by mx.google.com with ESMTPSA id y2sm14997529oei.1.2015.02.19.09.02.25
for <[email protected]>
(version=TLSv1 cipher=RC4-SHA bits=128/128);
Thu, 19 Feb 2015 09:02:26 -0800 (PST)
Date: Thu, 19 Feb 2015 17:02:50 +0000
Return-Path: <[email protected]>
To: [email protected]
From: Me <[email protected]>
Subject: Testing Contact From 7
Message-ID: <181be9822fd87aa5c88db24f7008016a@www.ssird2.com.php53-16.dfw1-2.websitetestlink.com>
X-Priority: 3
X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
Reply-To: [email protected]
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From: Bobofet <[email protected]>
Subject: Testing Contact From 7
Message Body:
test