Line Breaks and HTML Issues
-
I have WPLMS theme that uses BuddyPress plugin.
Initially, my problem was I didn’t get any HTML emails.
So I did the following:
1. Downloaded WP HTML Mail plugin.
2. HTML works perfectly fine with header and footer and links, however, there were no line brakes whatsoever in the whole email, just everything on the same line.
3. To fix line break problem I went to: wp-html-mail/includes/class-haet-mail.php
and I added: $email[‘message’] = wpautop($email[‘message’]); at the end.Line breaks problem got fixed but the email body is back to plain text, not HTML.
What should I do to have a full HTML email with line breaks?
The page I need help with: [log in to see the link]
- The topic ‘Line Breaks and HTML Issues’ is closed to new replies.