Extending Email Action in Workflows for MFA Mail relay

 Hello Friends,

We all know email action item which send automated emails when an item state is changed in a workflow.



We intend to expand upon the current Sitecore workflow email action, which is rooted in the '/sitecore/templates/system/workflow/emailaction' template.

to be used with mail relay systems with require username and password to authenticate and specific port to reach.`


Here is the Github Code : Extended Email Action code

Create a .Net project and one item with username, password and port fields

To maintain organization and cleanliness, I have established an Email Configuration Item within Sitecore under the System Node. This item is used to store all the UserName, App Password and Port.



Take the code and build it, deploy the dll and use SMTP which require IMR account login to send workflow automated mails.

Happy Coding!


Comments