I'm just curious why, when you log the email, you chose run the body through nl2br? When my site sends out automated email, the log inserts the br's and changes the look of my emails.

Not a big deal since it's just a log, but I was just curious if there was an underlying reason for nl2br.

Thanks again

Comments

fizk’s picture

Issue summary: View changes
Status: Active » Fixed

The code converts the email message to plain text, which strips out break tags. nl2br() puts them back in.

Status: Fixed » Closed (fixed)

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