CRLF in Alert Emails

eyeball

Getting comfortable
Joined
Jun 30, 2014
Messages
210
Reaction score
502
Trying to format an email alert, using macros, but the carriage return/line feeds are being ignored as entered into the body of the email.

For example:

Formatted like this in "Body" section of email:

Date: %A, %#d %B, %Y
Time: %H:M:%S
FPS: %f


Alert detected on camera: %s


But comes out like this in email:

Date: Tuesday, 5 August, 2014 Time: 11:02:32 FPS: 11.47 Alert detected on camera: Driveway

Is there some code that is used to force carriage return in an email?
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,666
Reaction score
14,006
Location
USA
In html, the "br" tag is for line breaks.

HTML:
<br />
or just

HTML:
<br>
Usually either one will work.

If you see it appear literally in the email, and not as a line break, then you probably can't enter HTML markup and you should contact the BI developer to see if he will do something about it.
 

eyeball

Getting comfortable
Joined
Jun 30, 2014
Messages
210
Reaction score
502
<br> worked like a champ!

Thanks bp2008!
 
Top