Page 1 of 1

Email in Settings Container

PostPosted: Wed Feb 05, 2020 10:07 am
by hansg
Hi,

I have successfully setup the Email dipo url to send and email after I disposition a call.

However, the email is sent with no paragraphs or line breaks.

How do i implement line breaks into the settings container?

Thanks

Re: Email in Settings Container

PostPosted: Wed Feb 19, 2020 11:50 pm
by williamconley
Good job posting your system specs. Would be nice if you included your installer version. :)

What have you tried to get line breaks so far?

https://stackoverflow.com/questions/227 ... ailto-body

%0D%0A

'\r\n'

"\r"

Php test example:

Code: Select all
. chr(10) . chr(12) . chr(12) . "\n\n"


Note that sometimes The Vicidial Group will use ! for line breaks. I've seen others use | so it's really a question of whether they are interpreting or changing before passing it to email or if you can directly affect the line breaks without interference. Try everything and see what works. :) Even <br> may be the ticket.