Alpine + HTML mail + Mail System

KernelLabs's picture
KernelLabs
Wed, 07/08/2015 - 11:44
#1
Alpine + HTML mail + Mail System

We encounter an issue while developing custom modules for a website using MD Alpine.

We could install all needed modules to send HTML mails (modules HTML Mail, Mail System, SMTP Authentication, ...).
These systems use an installed theme to build the html of outgoing mails.

We created a custom theme to use for these outgoing mails because MD Alpine is not convient at all for that.
Our problem is that the generated html is preprocessed by hook functions of md_alpine custom module and so, the outgoing mails are not correctly rendered (for instance, all inline styles are put in CDATA array).

Of course we can't disable this module, the website requires it, but we don't know how to prevent these hooks to preprocess the html themed by our custom templates.


Can you help ?

phuonght's picture
phuonght
Thu, 07/09/2015 - 04:54

So,

Please make some clear points:

Which part that you would like to edit in our module? We will check to find solution. 

And what would you like to write in your function hook_preprocess_html()?

KernelLabs's picture
KernelLabs
Sun, 07/12/2015 - 07:11

Well something is going wrong with this combo of modules.

We opted for Mime mail + SMTP instead and it's ok and simplier

phuonght's picture
phuonght
Sun, 07/12/2015 - 23:50

It's good to hear that you did find a solution for your site.

If you have any problem, please feel free to tell us :)

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.