Hi,
I want to send an email notification containing in the body: $this-> description$.
When receiving email, text contained in 'description' appears without paragraphs and difficult to read.
What can I do to keep the formatting? At least the paragraphs.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What means "difficult to read" ?? html output?
Do you send the mail in html or plaintext message?
Can you copy and paste a sample of the mail output and maybe the mailheader?
Please make everything anonymous :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I want to send an email notification containing in the body: $this-> description$.
When receiving email, text contained in 'description' appears without paragraphs and difficult to read.
What can I do to keep the formatting? At least the paragraphs.
What means "difficult to read" ?? html output?
Do you send the mail in html or plaintext message?
Can you copy and paste a sample of the mail output and maybe the mailheader?
Please make everything anonymous :)
The text was continuously without html tags
I found the solution, I should use
$this-> html(description)$
it is written in the documentation but I did not read carefully :)
Sometimes it helps to talk about it to find the solution :)
Thanks for supporting the community by sharing the solution.