Technical mailing list archives
Re: Email templates and auto_delete flag inconsistencyby
2014-08-04 16:47 GMT+04:00 Olivier Dony <firstname.lastname@example.org>:
So you should probably be doing something different in your server actions: - render the email template and then post it properly on the related document (e.g. the lead) by using the message_post() method. This will record it in the history of the document, and thus preserve the mail.message even if the mail.mail is auto-deleted.
Thanks for details and understaning and especially for your time.
How can I do what you advise from automated action?
Just a hint please.
For now I use obvious Send Email Template server action.