Skip to main content

Hello,

 

Anyone knows how to reference array without keys

(

1. Value A

2. Value B

)

or just a string ("Value A, Value 😎 in a outlook recipients module? I've tried several approaches but nothing seems to be working properly. I do not want to send multiple emails to single recipient (1 mail = 1 recipient). I want to send 1 email to multiple people in both "TO" and "CC" fields. It's improtant as we've got dynamic recipients list.

 

Usually I end up with one of two errors:

image 

or

 

image 

Best Regard,

Mateusz Dudek

 

Hi Mateusz,

 

The To field in MS 365 Email is different from that of Gmail, and an array of emails will not work for it.

You need to pass an array of objects, each object containing an Email Address and optionally, a Name:

odev_9BlxTVw5e0jdZqDGOZYxJkLZ3jDpg (1)If you need to input a list, you can use an iterator+aggregator combo to modify its format to fit what the module expects:

0o13qFVFfc7SnSQ-jgFf_OEZ_WoWegAkNQ (1)Image_2023-02-13_10-37-10 (1)We have also an article for this https://www.celopeers.com/s/article/How-to-send-email-using-Microsoft-365-Email-to-multiple-recipients, but I think the 2 first screenshots aren't showing correctly, in the article and I have attached them here.

 

We hope this helps with your request.

Please let us know if you need further assistance from our side.

 

Best regards,

Lejla


Reply