• Resolved CraftyMc

    (@craftymc)


    Hey, I’m trying to use a HTML email template I created to reflect my website but before postman sends the email it seems to add a bunch of <br /> ‘break lines’ to the email.

    The original html code doesn’t have any break lines but in the email log it’s full of them?

    Any ideas?

    Thanks

    https://ww.wp.xz.cn/plugins/postman-smtp/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jason Hendriks

    (@jasonhendriks)

    it shouldn’t. it doesn’t do that to postman’s test email, which is both HTML and text.

    would you turn on wordpress logging, turn on Postman logging (Postman -> Configure Manually -> Advanced -> LogLevel -> TRACE ), send your HTML email, and send me the log file wordpress creates?

    you can use this plugin to manage WordPress logging if you don’t know how to do it yourself: https://ww.wp.xz.cn/plugins/debug/

    Turn off Postman TRACE when you’re done, it’s quite verbose and that file will grow quick.

    Thread Starter CraftyMc

    (@craftymc)

    I managed to get it to work but Iv’e had to remove all spaces and new lines. Lets hope I never have to go there again because it looks a complete mess now lol just imagine 150 lines with no spaces or new lines, *my head hurts* lol

    It would appear it was converting all the new lines to <br /> instead of ignoring them. 🙂

    Plugin Author Jason Hendriks

    (@jasonhendriks)

    Would you send me the email template so I can test it and see what’s going on? Is there a specific plugin you are using?

    Plugin Author Jason Hendriks

    (@jasonhendriks)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Using HTML template please help!’ is closed to new replies.