Menu

email notification, formatting body field

Adrian
2013-07-05
2013-07-05
  • Adrian

    Adrian - 2013-07-05

    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.

     
  • TheBigOne

    TheBigOne - 2013-07-05

    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 :)

     
  • Adrian

    Adrian - 2013-07-05

    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 :)

     
  • TheBigOne

    TheBigOne - 2013-07-05

    Sometimes it helps to talk about it to find the solution :)

    Thanks for supporting the community by sharing the solution.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.