Developer Support »

Send a read receipt to the form sender  (See more user questions)

Hello again, .

I had a look at this. You need to use this header in the email from the
script:

Disposition-Notification-To:

I have attached a new script for you with this change made to it.

I changed this:

$headers = "From: " . $from_email;
$headers .= PHP_EOL;
$headers .= "Reply-To: " . $_REQUEST['email'];
$headers .= PHP_EOL;
$headers .= "MIME-Version: 1.0";

...to this:

$headers = "From: " . $from_email;
$headers .= PHP_EOL;
$headers .= "Reply-To: " . $_REQUEST['email'];
$headers .= PHP_EOL;
$headers .= "Disposition-Notification-To: " . $_REQUEST['email'];
$headers .= PHP_EOL;
$headers .= "MIME-Version: 1.0";

And changed this:

$headers = "From: {$from_name} <{$_REQUEST['email']}>";
$headers .= PHP_EOL;
$headers .= "MIME-Version: 1.0";

...to this:

$headers = "From: {$from_name} <{$_REQUEST['email']}>";
$headers .= PHP_EOL;
$headers .= "Disposition-Notification-To: " . $_REQUEST['email'];
$headers .= PHP_EOL;
$headers .= "MIME-Version: 1.0";

Make sure that the email field on the form is named "email" so that it works
with the above code.

Any questions, just let me know.

Best wishes.

Charles Sweeney
https://formtoemail.com
The world's easiest feedback script!

----- Original Message -----
Sent: Wednesday, June 02, 2010 5:47 PM
Subject: FormToEmail script


> Comments: Hi,
>
> I purchased and have been using your formtoemailpro for a couple of years
> now and it comes in very handy! I know that you have loads of features
> that can be configured into the form but I'm going to be awkward and ask
> if you have one more. A client of mine which gets sent email orders via
> the formtoemail on his website wants to know if he can automatically send
> out a read receipt for each email he gets via the form on this website. I
> know that I can configure a confirmation message saying that the form has
> been sent, but he wants to automatically send out a read receipt when he
> reads their email. Much like an outlook read receipt. Is it possible to do
> this via formtoemailpro? In short - I need the email that the
> formtoemailpro generates to have 'read receipt' set, so that the person
> who sent the form knows when the email has been opened/read by my client.
>
> Thanks for your help,