I'm editing the email templates for the 'Support Ticketing System' module.
In my settings.php file, I'd rather have:

$conf['support_mail_ticket_new_body'] = "
NEW TICKET CREATED at activecanaria.com
Subject: !key !ticket_subject
User: !update_username
...
";

than

$conf['support_mail_ticket_new_body'] = "NEW TICKET CREATED at activecanaria.com\nSubject: !key !ticket_subject\nUser: !update_username\n...";

Is the former format viable, or would I be taking a risk that some email clients wouldn't display the line breaks properly?

Thanks.

Comments

jeremy’s picture

Status: Active » Fixed

Either should work fine.

-Anti-’s picture

Thanks.

On a related issue, have you ever encountered a problem with the body of the ticket when using a wysiwyg editor? If someone uses the website to generate a ticket or add a comment, the body has an extra linebreak in the email. The email message looks like this:

hi,

I would like to buy your holiday package.

Can you send some information.

Cheers

rather than

hi,
I would like to buy your holiday package.
Can you send some information.
Cheers

Any idea what might be going on?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.