# HTML email problem, break after newline

**URL:** <https://discourse.cakephp.org/t/html-email-problem-break-after-newline/8915>\
**Category:** Need Help\
**Created:** [January 26, 2021, 12:08pm UTC](https://discourse.cakephp.org/t/html-email-problem-break-after-newline/8915 "2021-01-26T12:08:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shadowx.jb](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@shadowx.jb](https://discourse.cakephp.org/u/shadowx.jb)\
**Post date:** [January 26, 2021, 12:08pm UTC](https://discourse.cakephp.org/t/html-email-problem-break-after-newline/8915/1 "2021-01-26T12:08:57Z")

</div>

I prepare message for mail:

`->setBodyHtml($data['content_html'])`

email sent adds a new paragraph for each line. Is it forbidden to replace new lines with a paragraph when I have the text ready, including a paragraph, etc.?

Thank you
