Send Email for more than one recipient

I’m using the “Send an Email” module for follow up emails.

Some of the emails I’m sending follow ups has more than one recipient, like that:

And when I’m sending the follow up email, is returning a ‘to’ error because it has more than one recipient.

Does anyone know how to solve it?

[
    {
        "date": "2024-08-19T17:09:37.000Z",
        "id": 233,
        "size": 1171,
        "headersList": [
            {
                "key": "mime-version",
                "value": [
                    "1.0"
                ]
            },
            {
                "key": "date",
                "value": [
                    "Mon, 19 Aug 2024 14:09:37 -0300"
                ]
            },
            {
                "key": "message-id",
                "value": [
                    "<CAMRtOeLCJwZi-F7jgQGnCQEvARE51Som7yL5rPpAL=isYZtVcg@mail.gmail.com>"
                ]
            },
            {
                "key": "subject",
                "value": [
                    "[Lembrete] KPIs Mensais de Julho/24 | Caio Startup"
                ]
            },
            {
                "key": "from",
                "value": [
                    "Rodrigo Demarchi Martins <martins@domo.vc>"
                ]
            },
            {
                "key": "to",
                "value": [
                    "dema.dido@hotmail.com, dema.turi1212@gmail.com"
                ]
            },
            {
                "key": "content-type",
                "value": [
                    "multipart/alternative; boundary=\"000000000000ba34a606200c5fe4\""
                ]
            }
        ],
        "headers": {
            "mime-version": [
                "1.0"
            ],
            "date": [
                "Mon, 19 Aug 2024 14:09:37 -0300"
            ],
            "message-id": [
                "<CAMRtOeLCJwZi-F7jgQGnCQEvARE51Som7yL5rPpAL=isYZtVcg@mail.gmail.com>"
            ],
            "subject": [
                "[Lembrete] KPIs Mensais de Julho/24 | Caio Startup"
            ],
            "from": [
                "Rodrigo Demarchi Martins <martins@domo.vc>"
            ],
            "to": [
                "dema.dido@hotmail.com, dema.turi1212@gmail.com"
            ],
            "content-type": [
                "multipart/alternative; boundary=\"000000000000ba34a606200c5fe4\""
            ]
        },
        "subject": "[Lembrete] KPIs Mensais de Julho/24 | Caio Startup",
        "from": {
            "address": "martins@domo.vc",
            "name": "Rodrigo Demarchi Martins"
        },
        "to": {
            "address": "dema.dido@hotmail.com",
            "name": ""
        },
        "cc": null,
        "bcc": null,
        "text": "Financeiros e Operacionais\n\nAbs,\nRodrigo Martins\nDOMO.VC <https://domo.vc/>\n+55 11 97717-9227\n*martins@domo.vc <martins@domo.vc>*\n",
        "html": "<div dir=\"ltr\">Financeiros e Operacionais<br><br clear=\"all\"><div><div dir=\"ltr\" class=\"gmail_signature\" data-smartmail=\"gmail_signature\"><div dir=\"ltr\">Abs,<br>Rodrigo Martins<br><a href=\"https://domo.vc/\" target=\"_blank\">DOMO.VC</a><br>+55 11 97717-9227<br><b><a href=\"mailto:martins@domo.vc\" target=\"_blank\">martins@domo.vc</a></b><div><b><br></b></div></div></div></div></div>\n",
        "references": null,
        "inReplyTo": null,
        "priority": null,
        "attachments": [],
        "folder": "Enviados"
    },
    {
        "date": "2024-08-19T17:09:05.000Z",
        "id": 234,
        "size": 1184,
        "headersList": [
            {
                "key": "mime-version",
                "value": [
                    "1.0"
                ]
            },
            {
                "key": "date",
                "value": [
                    "Mon, 19 Aug 2024 14:09:05 -0300"
                ]
            },
            {
                "key": "message-id",
                "value": [
                    "<CAMRtOeJ6Qw+jHh+3PM96=YtgyakXHdEThCzOidjfF1c8xMScAQ@mail.gmail.com>"
                ]
            },
            {
                "key": "subject",
                "value": [
                    "[Lembrete] KPIs Mensais de Julho/24 | Arthur Startup"
                ]
            },
            {
                "key": "from",
                "value": [
                    "Rodrigo Demarchi Martins <martins@domo.vc>"
                ]
            },
            {
                "key": "to",
                "value": [
                    "dema.dido@faculdadefia.edu.br, designerthurzada@gmail.com"
                ]
            },
            {
                "key": "content-type",
                "value": [
                    "multipart/alternative; boundary=\"000000000000ccc9d206200c5d94\""
                ]
            }
        ],
        "headers": {
            "mime-version": [
                "1.0"
            ],
            "date": [
                "Mon, 19 Aug 2024 14:09:05 -0300"
            ],
            "message-id": [
                "<CAMRtOeJ6Qw+jHh+3PM96=YtgyakXHdEThCzOidjfF1c8xMScAQ@mail.gmail.com>"
            ],
            "subject": [
                "[Lembrete] KPIs Mensais de Julho/24 | Arthur Startup"
            ],
            "from": [
                "Rodrigo Demarchi Martins <martins@domo.vc>"
            ],
            "to": [
                "dema.dido@faculdadefia.edu.br, designerthurzada@gmail.com"
            ],
            "content-type": [
                "multipart/alternative; boundary=\"000000000000ccc9d206200c5d94\""
            ]
        },
        "subject": "[Lembrete] KPIs Mensais de Julho/24 | Arthur Startup",
        "from": {
            "address": "martins@domo.vc",
            "name": "Rodrigo Demarchi Martins"
        },
        "to": {
            "address": "dema.dido@faculdadefia.edu.br",
            "name": ""
        },
        "cc": null,
        "bcc": null,
        "text": "Financeiros e Operacionais\n\nAbs,\nRodrigo Martins\nDOMO.VC <https://domo.vc/>\n+55 11 97717-9227\n*martins@domo.vc <martins@domo.vc>*\n",
        "html": "<div dir=\"ltr\">Financeiros e Operacionais<br><br clear=\"all\"><div><div dir=\"ltr\" class=\"gmail_signature\" data-smartmail=\"gmail_signature\"><div dir=\"ltr\">Abs,<br>Rodrigo Martins<br><a href=\"https://domo.vc/\" target=\"_blank\">DOMO.VC</a><br>+55 11 97717-9227<br><b><a href=\"mailto:martins@domo.vc\" target=\"_blank\">martins@domo.vc</a></b><div><b><br></b></div></div></div></div></div>\n",
        "references": null,
        "inReplyTo": null,
        "priority": null,
        "attachments": [],
        "folder": "Enviados"
    },
    {
        "date": "2024-08-19T17:10:06.000Z",
        "id": 235,
        "size": 1180,
        "headersList": [
            {
                "key": "mime-version",
                "value": [
                    "1.0"
                ]
            },
            {
                "key": "date",
                "value": [
                    "Mon, 19 Aug 2024 14:10:06 -0300"
                ]
            },
            {
                "key": "message-id",
                "value": [
                    "<CAMRtOe+-Evyo5X6bqBUGCZaaUDEKjmFp6VXmy0qVn=sLVFcANA@mail.gmail.com>"
                ]
            },
            {
                "key": "subject",
                "value": [
                    "[Lembrete] KPIs Mensais de Julho/24 | Bruno Startup"
                ]
            },
            {
                "key": "from",
                "value": [
                    "Rodrigo Demarchi Martins <martins@domo.vc>"
                ]
            },
            {
                "key": "to",
                "value": [
                    "arthurpizza1212@gmail.com, arthurdem.martins@gmail.com"
                ]
            },
            {
                "key": "content-type",
                "value": [
                    "multipart/alternative; boundary=\"00000000000070214a06200c61f7\""
                ]
            }
        ],
        "headers": {
            "mime-version": [
                "1.0"
            ],
            "date": [
                "Mon, 19 Aug 2024 14:10:06 -0300"
            ],
            "message-id": [
                "<CAMRtOe+-Evyo5X6bqBUGCZaaUDEKjmFp6VXmy0qVn=sLVFcANA@mail.gmail.com>"
            ],
            "subject": [
                "[Lembrete] KPIs Mensais de Julho/24 | Bruno Startup"
            ],
            "from": [
                "Rodrigo Demarchi Martins <martins@domo.vc>"
            ],
            "to": [
                "arthurpizza1212@gmail.com, arthurdem.martins@gmail.com"
            ],
            "content-type": [
                "multipart/alternative; boundary=\"00000000000070214a06200c61f7\""
            ]
        },
        "subject": "[Lembrete] KPIs Mensais de Julho/24 | Bruno Startup",
        "from": {
            "address": "martins@domo.vc",
            "name": "Rodrigo Demarchi Martins"
        },
        "to": {
            "address": "arthurpizza1212@gmail.com",
            "name": ""
        },
        "cc": null,
        "bcc": null,
        "text": "Financeiros e Operacionais\n\nAbs,\nRodrigo Martins\nDOMO.VC <https://domo.vc/>\n+55 11 97717-9227\n*martins@domo.vc <martins@domo.vc>*\n",
        "html": "<div dir=\"ltr\">Financeiros e Operacionais<br><br clear=\"all\"><div><div dir=\"ltr\" class=\"gmail_signature\" data-smartmail=\"gmail_signature\"><div dir=\"ltr\">Abs,<br>Rodrigo Martins<br><a href=\"https://domo.vc/\" target=\"_blank\">DOMO.VC</a><br>+55 11 97717-9227<br><b><a href=\"mailto:martins@domo.vc\" target=\"_blank\">martins@domo.vc</a></b><div><b><br></b></div></div></div></div></div>\n",
        "references": null,
        "inReplyTo": null,
        "priority": null,
        "attachments": [],
        "folder": "Enviados"
    }
]



Should be as simple as this:

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!

The code worked for a specific case, but it fails when the email address is either a contact (where the name appears before the email address, like “Name email@gmail.com) it doesn’t work.

I’m running this:

And it’s returning this:

However, when I try to run the EXACT SAME CODE but switch the order of the email addresses—placing dema.dido090604@gmail.com first instead of melo@domo.vc—it only sends the email to the contact email address (melo@domo.vc) and not to all the email addresses in the ‘to’ field.

I’m trying to run this below for both ‘to’ and ‘cc’ box:

All the problem goes around on the different types of emails addresses and this applicated on the ‘to’ and ‘cc’ box. Here are all the possibilities I want my email to be successfully delivered:

1:
‘to’: 1 contact address
‘cc’: 1 contact address

2:
‘to’: 1 no contact address
‘cc’: 1 no contact address

3:
‘to’: 1 contact address | 1 contact address
‘cc’: 1 contact address | 1 contact address

4:
‘to’: 1 no contact address | 1 no contact address
‘cc’: 1 no contact address | 1 no contact address

5:
‘to’: 1 contact address | 1 no contact address
‘cc’: 1 contact address | 1 no contact address

6:
‘to’: 1 no contact address | 1 contact address
‘cc’: 1 no contact address | 1 contact address

7:
‘to’: 1 contact address | 1 no contact address | 1 contact address
‘cc’: 1 contact address | 1 no contact address | 1 contact address

8:
‘to’: 1 no contact address | 1 contact address | 1 no contact address
‘cc’: 1 no contact address | 1 contact address | 1 no contact address

I hope you understand the situation. I need to be able to send emails to both ‘to’ and ‘cc’ fields with as many recipients as needed, regardless of whether the email address is a contact or not, and in any order.

Any idea? I replied you with more comments yesterday

Nope, I’m confused now. Perhaps you need to screenshare this with someone in Hire a Pro

Did you know, this forum has a Hire a Pro category, where you can post your request for off-site specialised help on other platforms (video call/screenshare/private messaging/etc.)? This may help you get your issue resolved faster especially if it is urgent. It is important to post your request in the Hire a Pro category, as forum members are not allowed to advertise their services elsewhere (like here).