Sending Email in a dynamic way

0
Hi , I have a doubt in sending a mail . For Instance , I have to send 1000 mails , so I created a microflow to send mail  but in that microflow all my From address , username, To, cc , subject are static but I need to send my email in a dynamic way like (TO , CC , Subject should take in a dynamic way ) and send my emails . Whethere I should  create a new microflow or I should change in domain model . Please guide how to create it.
asked
4 answers
7

i would say u create ur email object and set the values dynemically for the TO,CC,Subject and other fields.

if microflow already exists.

look for the place email object is created and then either there populate these fields based on variables and objects in scope.You can use a change object activity too. 

Once you are done send the email object to IVK_SendEmail sub microflow and you are done.

answered
3

Hi,

 

By using microflow, Retrieve the TO(email) from where you keep all email Entities. Pass this To(email) in the “CreateAndSendEmail” flow parameter. Follow the same for CC.

answered
2

You might want to take a learning path here: https://academy.mendix.com/link/modules/148/lectures/1180/5.1-Creating-Newsletters
And also check this out: https://docs.mendix.com/appstore/modules/email-with-templates/

Regards,

Ronald

 

answered
0

Hi, 

You can simply create templates in the microflow that will hold the dynamic values you want, retrieve that template and pass it to CreateAndSendEmail microflow from which you can copy the needed attributes.

answered