Receive a notification by email.

0
Hello everyone, I am creating an application for absenteeism requests, where an administrator can register an employee and this in turn creates an account for the employee, when registering an employee they must have an email, when the employee creates a new request (that is, presses the save button) they must receive an email notification that shows them the request data entered, and the status of the request which must be 'In review', how do I do that?  
asked
1 answers
2

You can use the Email Connector module in the Marketplace to send emails.

 

https://docs.mendix.com/appstore/modules/email-connector/

 

In this case, you'd probably want to create two templates, one for the administrator's email message, and one for the employees. 

 

Make the Save button a microflow. In that you can set the status, commit the data, and send the two emails.

 

Look at the microflow Sample_ACT_SendEmailWithTemplate in the Email Connector module for a working example of sending an email in a microflow.

 

I hope this has helped. Good luck!

answered