Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: Anyone help me out - php advice needed

date posted 9th May 2008 11:21

Try putting an \r before each \n.

Nigel.
----- Original Message -----
From: [EMAIL REMOVED] [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Friday, May 09, 2008 12:36 PM
Subject: FN-FORUM: Anyone help me out - php advice needed


>
> Hi everyone,
>
> Could someone spend a minute looking at the code below, basically its just
> a
> dynamic email that is sent out from a site I am developing, the email
> itself
> goes out perfectly, and has all the necessary information, its just the
> layout that is the problem, if anyone can point me in the right direction
> I'd be very grateful.
>
> $Subject = "Reply to your E-Advice Request - Reference
> Number:$referenceno";
> $Body .="Thank you for submitting your query to Housing Rights Service.
> Your
> personalised response is below:\n\n";
> $Body .="Your Query:\n\n";
> $Body .="$query11\n\n";
> $Body .="Response:\n\n";
> $Body .="$respondmsg\n\n";
> $Body .="The e-advice service is intended for initial advice only.\n";
> $Body .="If you require further advice please contact us on our advice
> line
> on 028 9024 5640 between 9.30am-1.30pm Monday through Friday\n";
> $Body .="and quote your reference number which appears in the subject line
> of this email."
> $res = mail($email, $Subject, $Body, $headers );
>
> But the email that is sent out doesn't break the lines as expected, the
> output is coming out as:
>
> Thank you for submitting your query to Housing Rights Service. Your
> personalised response is below: Your Query: Perpetua pericula nam an. Cu
> quem eirmod aliquando sed, eam amet mucius ei. Has ex latine pericula.
> Adolescens interesset his ei. Est et tale adipisci vituperata. At munere
> dissentiet sit. At nec ignota nonummy posidonium, at duo ornatus facilis.
> Tempor mnesarchum cum id, cibo appetere his an. Audiam oblique an vim.
> Nibh
> erant petentium pri an, duo inani impedit laboramus eu. Response:
>
> this is the response from HRS
>
> second response
>
> third response
>
> The Advisor
>
> The e-advice service is intended for initial advice only. If you require
> further advice please contact us on our advice line on 028 9024 5640
> between
> 9.30am-1.30pm Monday through Friday/nand quote your reference number which
> appears in the subject line of this email.
>
>
> Many thanks in advance for any advice given.
>
> Allan
>
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
>



Messages by Day
May 31st 2008
May 30th 2008
May 29th 2008
May 28th 2008
May 27th 2008
May 26th 2008
May 25th 2008
May 24th 2008
May 23rd 2008
May 22nd 2008
May 21st 2008
May 20th 2008
May 19th 2008
May 18th 2008
May 17th 2008
May 16th 2008
May 15th 2008
May 14th 2008
May 13th 2008
May 12th 2008
May 11th 2008
May 10th 2008
May 9th 2008
May 8th 2008
May 7th 2008
May 6th 2008
May 5th 2008
May 4th 2008
May 3rd 2008
May 2nd 2008
May 1st 2008


Messages by Month
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000