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 |
Jump to:
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
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
You could probably also use String Overrides to change the title text that's passed through t().