Extension, Module, Plugin

Archived
Forum
(read-only)

Postmaster

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Objective HTML

2 of 2
2
   

Using Postmaster for system generated emails (password reset, etc)

Support Request

Jim Pannell
# 16
Jim Pannell

I’m having a very similar issue to what’s happening in this thread. I’ve just emailed you Justin.

Davor
# 17
Davor

Having the same issue with Postmaster 1.6.0 and {hook:message} generating Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit

My hook mandrill setup is pretty simple https://www.dropbox.com/s/jh87pdmztnce85m/Screenshot 2015-07-12 15.39.11.png?dl=0

Davor
# 18
Davor

While Justin doesn’t provide some official fix, here is a workaround so you can use your {hook:message} in HTML email without making your email plain for mandrill service.

Using replace plugin: http://gotolow.com/addons/low-replace

{exp:low_replace find="Content-Type:|text/plain;|charset=utf-8|Content-Transfer-Encoding:|8bit" multiple="yes"}{hook:message}{/exp:low_replace} 

This will remove html snippet injected before {message} var.

cheers
davor

2 of 2
2