Microsoft 365 Outlook send email error

:bullseye: What is your goal?

I want to send email using Microsoft 365 Email (Outlook) “Send an Email” module witha a To, Reply-To and CC emails.

:thinking: What is the problem & what have you tried?

The Microsoft 365 Outlook module is throwing the error.

I have tried using the iterator and aggregator to get the required array for the Moicrosoft Outlook email mapping, but I am still getting the error.

:clipboard: Error messages or input/output bundles

Validation failed for 3 parameter(s).
Invalid email address in parameter ‘address’.
Invalid email address in parameter ‘address’.
Invalid email address in parameter ‘address’.

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

1 Like

Outlook may need {emailAddress: {address: "email"}} collection structure, your array may be malformed. Iterator won’t fix issues at the structure level.

Hey there,

Can you also share some screenshots of how the module is configured and what the incoming data looks like? Cause the error shows it did not receive the emails.

Thank you for responding.

I have atached the screenshot of the configurations of the iterator, aggregator and Microsoft 365 modules.

This text will be hidden

You don’t need to use split inside the iterator module. Check the outputs of both the iterator and the aggregator to see if they are what they are supposed to be.

This iterator and aggregator are outputting an empty array. whatis the correct function for me to use in the iterator ? Thanks.

Now, another issue i observed is that if I run the whole scenario, the iterator gives an empty string but if i run the iterator module only, it outputs the email address which is an array.