I wonder if you could take a quick look at my form, I’ve been using the
action for ages, but on this site it is not working [hosted on a Demon
Virtual Server]
http://www.holbrook-design.co.uk/2009/email.php
Firstly it does not check for name or email it always gives the Success
page and it always arrives like this:
first: Peter
name: Tucker
company: Holbrook
email: email@hidden
phone: 01865 459000
Please select country: United Kingdom
comments: This is just a short message.
Submit: Send your details to Holbrook
IP address=
PLEASE NOTE: This is a message from the holbrook-design.co.uk web site
and has been sent from a machine and not a person.
Please do not reply to this e-mail as it will bounce.
Help!
Best wishes Peter
–
================================
Peter Tucker, Oxford UK email@hidden
Yes you can copy/paste the code here put 4 tildes (~) on the line before the pasted text and the same again on the line after to get this (as you probably did with your link above)
email-go text here
But you didn’t answer the question about whether this action has ever worked on this particular server.
Because if it hasn’t then looking at the -go code is unlikely to help and you will probably have to approach the host and see if they have a particular script that you are supposed to use. Check their Help files.
I’m at a loss as to why the PHP might be partially working. The code
the action generates is a boiler plate script that will process any
form data that is thrown at it. In addition there are three special
fields (name, email and subject) that if encountered will alter the
resulting email (name and email are used to form the sender’s e-mail
address and the return address and subject sets the subject of the
incoming email).
What is odd about Peter’s experience is that these special fields are
getting ignored yet the email is still getting sent. generally I see
the script either work or completely fail.
Peter, can you send me a copy of the -go.php file please?
Thanks,
Tim.