Zen Cart Logo
Forums / General Questions / plain email line breaks

plain email line breaks

Locked

Views: 1,928

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
4 Oct 2006, 7:19 PM
#1
reap avatar

reap

New Zenner

Join Date:
Sep 2006
Posts:
13
Plugin Contributions:
0

plain email line breaks

Hello,

I would like to change the wording of the gv_mail.php. It's been really confusing for people. They think that they just have to click the redemtion link to get credit upon checkout.

Anyway, my problem is this. I NEED to add some line spaces/<br> tags to the below paragraph so it doesn't come out like a huge blob.

How do I add in line breaks for plain text emai? I added {LINE BREAK} so you know where I want the breaks.

define('TEXT_TO_REDEEM', 'To CONFIRM receipt of this ' . TEXT_GV_NAME . ', please click on the link below. Please also write down the ' . TEXT_GV_REDEEM . ' {LINE BREAK} AFTER you have confirmed this, the Gift Certificate will be put into your account like a bank deposit. {LINE BREAK} TO USE YOUR GIFT CERTIFICATES during checkout you must Apply the balance when asked. [Step 2 of checkout.] It is just like a bank. You an apply any amount of your gift certificates at checkout or you can also send part or all of it to your friends via email!' );

Thanks!

4 Oct 2006, 7:28 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: plain email line breaks

Use "\n" to produce a line-break.

Note that it has to be inside double-quotes, and not also inside single quotes

ie:

define('BLAHBLAH', '... also write down the ' . TEXT_GV_REDEEM . "\n" . ' AFTER you have c ... ');