demianturner / sgl-docs-tickets-migration-test

0 stars 0 forks source link

Emailer enhancement #1676

Closed demianturner closed 11 years ago

demianturner commented 11 years ago

'''First:''' The Emailer/Builder expects a template file for a html email and renders the template using SGL_HtmlSimpleView(). Sometimes it is more convenient/faster not to use a template/rendering, but load a html file directly from the database or a string. The enclosed patch adds two extra parameters to achieve this and bypass the template file: rawText and rawHtml.

'''Second:''' A small change in the prepareHeaders() function makes it possible to pass a separate 'Return-Path' header, which is handy when handling email bounces.

'''Third:''' Ticket #1673 no longer needed when this patch is honoured.

demianturner commented 11 years ago

[demian] thanks for your input Peter, we'll resolve these issues this week

demianturner commented 11 years ago

[demian](In [4173]) SGL_Emailer2 improved flexibility, fixes #1676