Hi James,
Here’s a neat trick that Walter found a while back that will allow you
to send a copy of the e-mail to the sender as a receipt.
Here’s the original thread;
http://www.freewaytalk.net/thread/view/48709#m_49535
It’s a hack but it works.
In the Email Recipient field in the action enter the following code;
"; $r = "name at domain.com,".$_POST['email']; $recipient .= $r;
$recipient .= "
The ‘name at domain.com’ bit should be your regular e-mail address
that you want to receive the e-mails to. I’ve had to space the address
out like this otherwise the forum at FreewayTalk will hide the address
from you in the hope of stopping spam.
The code simply tells the PHP that the action creates to append the
sender’s e-mail address (held in $_POST[‘email’]) to the recipient
address (name at domain.com).
Make sure that one of your text fields in your form is called
‘email’ (without the quotes) as this will be used as the sender’s e-
mail address.
When I get a chance to update the action I’ll add in a facility to do
this without hacking around with the code like this.
Regards,
Tim.
On 5 Nov 2009, at 16:19, James Mansell wrote:
Hello all.
I have set up a PHP feedback form on our website (http://www.completekitcar.co.uk/Calendar%20Claim/calendarclaimfor.html
) and we have been using this successfully for various competitions
and giveaways.
We have now encountered a little problem though. We have had some
people contact us saying that they have applied for one of the
giveaways but never received it. When we checked back through our
database and email accounts their name doesn’t appear anywhere so
this suggests to us that they haven’t submitted the form properly
thus we haven’t received their details. They have assured us that
this isn’t the case and they got the ‘Success’ page after they
submitted the claim form.
My question is this…
Is it possible to get the PHP form to email the customer an email
similar to the one we receive from the form but just confirming that
their details have been sent to us? i.e. Can the form link to the
customers email address field?
Please help, this is driving us bonkers.
James
FreewayActions.com - Freeware and shareware actions for Freeway
Express & Pro.
…
Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com
…
http://www.freewayactions.com
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options