Suggestion : "configurable Email Field subject" and Tokens in message

chipway-drupal - August 1, 2008 - 06:36
Project:Email Field
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

As some nodes Title, that contain email field, may be a bit long, I suggest this :

1) Ability to setup either :
- today [Title as Subject introduction]
- [Fixed Text introduction] for that field in this content-type
- [Site name introduction]

2) Ability to add a bottom text (before general mail bottom text) and use tokens. Example of use case : "Sent from node {node title} ...
in order to understand in what context this mail was sent.

Hope this suggestions may help.
Thank you

#1

mh86 - August 19, 2008 - 10:38

nice suggestion, maybe someone wants to provide a patch ? :)
If you want to change the subject/body it's also possible to use hook_mail_alter, but of course doing this by some configurations would be nicer

#2

Rob Loach - August 26, 2008 - 19:18

You could probably also use String Overrides to change the title text that's passed through t().

 
 

Drupal is a registered trademark of Dries Buytaert.