Email Connector

0
I am using the Email Connector module in Mendix Studio Pro 10.6.5 and want to send emails to users on the site. I have set up the Email Connector feature and logged in, and  created templates that can be sent out via microflow. The question I have now is: Whether you can send these emails to different recipients; Or if the email only goes to the specific email address that is set within the template section, as shown below
asked
4 answers
0

Matthew,

In your microflow, you can change the To address to contain any address(es) you want.  An example from one of my apps is below:

image.png

 

Hope that helps,

Mike

answered
1

Do note that you have to iterate over the entity holding the email addresses and then concanate the string like $emailTo + ', ' + $iteratorAddress/email.

Then use that string as your To string to send that one mail to multiple recipients.

Regards,

Ronald

 

answered
0

Hi Matthew,

"In your microflow, you need to change the EmailTemplate object and map the To attribute to the corresponding recipient address value. 

image.png

 

answered
0

Hi Mike, below is a detailed description of what I have attempted to do.

I have this page with a drop down box that allows you to select a user, from the accounts.

image.png

Inside the combo box I have set the on change action to call a microflow.

image.png

This microflow calls another sub microflow.

image.png

Here is the sub microflow.

image.png

This has another sub microflow that originated within the email connector marketplace module.

image.png

Where here I have added in the change object that should change the "To" in my email template to the email account associated with the users account that contains the email address.

image.png

Thank you for taking the time to respond.

Matthew Mooney

answered