PDA

View Full Version : [Mod Installation] Customer email notification help



tcshadow
08-31-2011, 03:04 AM
I needed a payment method for bank deposit for customers... For some reason there isn't one included in the code anymore.

I decided to hack up the cod module and make it display my bank details.

The problem is that while the language define with <br /> <br /> displays fine during checkout, the email ignores the line breaks.

That means my

Bank:
Account Name:
BSB:
Account Number:

Displays as


Bank: Account Name: BSB: Account Number:

In the email.

How do I make it do line breaks in the email?

ridexbuilder
08-31-2011, 05:02 AM
Look in other places with emails for examples

\n

tcshadow
09-02-2011, 02:31 AM
The problem was that i didn't have html turned on in my email settings. \n just got put in the email as plain text

pgmarshall
09-02-2011, 06:25 AM
Make sure it is inside double quotes "\n".

Regards,