Can anyone help me with finding the example of how the function should look like? What parameters does it take and what is the structure of the parameters.
Task: substitute some custom placeholders in the eForm report email.
Maybe
http://modxcms.com/forums/index.php/topic,15640.msg102392.html#msg102392 will help.
The idea is the same, just the eForm Event is changed as far as I know.
It will at least show you how to set up the parameters.
Taff
Adrian Lawley: www.adrianlawley.com
No. That’s about eFormOnBeforeFormParse, but I need eFormOnBeforeMailSent.
As far as I get eFormOnBeforeMailSent accepts only $fields - so what are those fields?