Developer Support »

how can I have additional information sent or amended to the email?  (See more user questions)

Hello again

I have attached an edited version of my script that will include the message
at the top of the email. This is the code I have added to the script:

$message .= "Dear {$_REQUEST['name']}";
$message .= PHP_EOL.PHP_EOL;
$message .= "Thank you for your booking enquiry. We do have a motel
available for these dates. To confirm your booking, please pay your deposit
by clicking on the link below. You will be taken to Paymate to pay via a
secure credit card website.";
$message .= PHP_EOL.PHP_EOL;
$message .= "The details of your booking are also below. Please check these
to ensure we have the correct information.";
$message .= PHP_EOL.PHP_EOL;
$message .= "Regards";
$message .= PHP_EOL.PHP_EOL;
$message .= "Betty";
$message .= PHP_EOL;
$message .= "Lakeview Motels";
$message .= PHP_EOL.PHP_EOL;

You can see it at line 1001. This will only work with the plain text
output.

Hope this does the job for you.

Best wishes.

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

----- Original Message -----
Sent: Monday, July 28, 2008 8:57 PM
Subject: RE: FormToEmail script


Hi Charles



I am creating a form for a motel website. It will contain a basic booking
enquiry form with details such as Check-in date, Number of Days etc.

My client is not very computer literate. To make it easy for her, I want to
include the following text in the email. Then all she has to do is hit
reply and most of the reply email is already created with only minor editing
required by her. So essentially, the extra text I wish to add to the form
mail is for the receiver to use as a pre-formatted reply. I've already
created the form with results in blue below. I need to add the text above
it. I can use either Plain Text or HTMl for the email, whichever is easier
to add extra text. A test example is here… HYPERLINK
"http://www.

One other wee thing....how to I remove the extra line breaks between the
form results (eg the booking details below)?



Thanks for your help.



Will



=========== Example Email Below. Existing content in blue, new text in
black =================================================



Dear Fred



Thank you for your booking enquiry. We do have a motel available for these
dates. To confirm your booking, please pay your deposit by clicking on the
link below. You will be taken to Paymate to pay via a secure credit card
website.



The details of your booking are also below. Please check these to ensure we
have the correct information.



Regards



Betty



Your Booking Details:



Name: Fred



Surname: Croxford



Email:



Telephone:



ArrivalDate: 17-Oct-2008



Number of Days: 3



Number of Guests: 2



Comments: Do you have a room available for these dates?



-----Original Message-----
Sent: Monday, 28 July 2008 7:55 p.m.
Subject: Re: FormToEmail script



Hi


Thank you for you purchase.



You can add extra text to the email by recoding the script. This is a

custom coding job, it's not a configuration option in the script.



I don't get much demand for this, usually the email goes to a person who

already knows what it is for, it's comments from a form on their website.

They would normally use the subject line to do what you want, like: "website


booking".



With "website booking" as the subject, you do not need to say "you have been


sent a website booking", doesn't make sense.



Can you offer some clarification? If someone puts a form on their website,

why do they need to be told what it is for?



Are you using plain text or HTML for the ouput email? Please advise and I

can give you an idea of the code that needs edited in the script.



Best wishes.



Charles Sweeney

https://formtoemail.com

The world's easiest feedback script!



----- Original Message -----

Sent: Monday, July 28, 2008 2:54 AM

Subject: FormToEmail script





> Comments: I am using formtoemailpro and have it working well. My question


> is, how can I have additional information sent or amended to the email.

> For example, I want the email to say something like...

>

> "You have been sent the following booking from your website"

>

> I know I could use the following...

>

> <INPUT TYPE="HIDDEN" NAME="Hello" value="You have been sent the etc

> etc">

>

> Problem with that as it appears on the email as "Hello: You have been

> etc."

> Really I'd rather it didn't have the Hello: and was a normal sentence.

>

> Is there a way I can add extra text to the emails?

>

> Thanks