The following patch allows the definition of default text templates for the 'To', 'Subject' and 'Message' mail fields on a per content-type basis and includes Token support.

We needed this functionality to define e-mail templates for sending customer invoices (a node type) that automatically included certain key information within the email from the node.

CommentFileSizeAuthor
print-tokens.patch6.89 KBISPTraderChris
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ISPTraderChris’s picture

Status: Active » Needs review

Marking this as needs review until we have some feedback. We are using this live without issue.

jcnventura’s picture

Status: Needs review » Needs work

This patch removes a lot of code that could still be used when the token module is not installed. I will try to see if I can merge the existing code with the new stuff.

João

jcnventura’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)

Closing all issues related to the Drupal 6 version of the print module.