Posts

Showing posts from August, 2022

How to send an email (email template, placeholders and email processing table)

Image
  Hello  Often we need to send emails during a process in Dynamics 365 for Finance and Operations. That's quite a standard requirement which often makes you look up some examples of your own or web. Here is yet another blog post on email sending.  In this blog post I will provide a few examples of sending email. But first let me introduce you some terms. Email template  - Templates stored under Organization administration> Setup> Organization email templates . The underlying tables are  SysEmailTable  and  SysEmailMessageTable . Placeholder  - a string enclosed within percent (%)  symbols. E.g. %placeholder%. Email processing table  - two tables  SysOutgoingEmailTable  and  SysOutgoingEmailData  that store emails to be processed by a batch job. Emails can be found under  System administration> Periodic tasks> Email processing> Email sending status . I assume you have all you email parameters in pla...