Ask question

Modifying Email HTML Content

Themes 634 times2 answers1 follower

I’d like to know how the email templates can be edited, I’d like to properly style the emails going out and include some other elements. Doing this under Options -> Emails doesn’t work, do I need to edit a core plugin file?

    Rik EngelenPremium 572 Rep. Rahul Aryan (Staff) commented on answer

    I have the same problem also it is not possible to put a enter or something like that.



      Also emails are being sent out with the From address as “wordpress” and the email as – would be good to be able to adjust this…

      Please use an SMTP plugin to fix this.

      For HTML email, you have to edit this line: email-header.  Replace text/plain to text/html. And then you can add html to your email message.

        • I did this, but every time I include HTML markup in the email content box under options, once I save, the markup clears and it defaults to the original message and any plain text added.

        • Same here, I’d changed the header to send html markup. That’s work fine when I add some html content directly to send_email() function.
          But when insert some html content to message textarea in anspress’s email options panel, after save it removes html content and just keep the plain text. Seems it escaping the html tags.



        Hire Us!