Ticket #1676 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Emailer enhancement

Reported by: petert Assigned to: demian
Priority: normal Milestone: 0.6.6
Component: SGL - Emailer Severity: open
Keywords: Cc:


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.


ticket1676.patch (2.8 kB) - added by petert on 09/18/08 14:21:38.

Change History

09/18/08 14:21:38 changed by petert

  • attachment ticket1676.patch added.

09/22/08 03:47:00 changed by demian

  • status changed from new to assigned.
  • milestone set to 0.6.6.

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

10/21/08 06:02:20 changed by demian

  • status changed from assigned to closed.
  • resolution set to fixed.

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