Page 1 of 1

Email Sending event

Posted: Thu Apr 20, 2017 5:08 pm
by coconut

Hi,

in my database i use the email sending event e.g. a field value is changed and then one person get a mail.
It is possible to log that this emails was sent ? e.g. in Audit trail ?

Thanks!


Re: Email Sending event

Posted: Fri Apr 21, 2017 9:47 am
by mobhar

Yes, it is. Just call "ew_WriteAuditTrail" global function to log the email. For more info, see that function code in the generated "phpfn*.php" file.