Sendinblue plugin (send multiple recipients)

@ZeroqodeSupport

Please, I need to send email using sendinblue to several recipients.

In TO, I couldn’t send a list, like:

[email protected]; [email protected]

It returns the error below. I already put separating with “,” “;”, space after each “,;” and yet, it gives error.

Someway ?

Grateful

image

Hi @jaguarconsultoriadig, thanks for reaching out.
Kindly note that the current plugin functionality doesn’t allow sending emails to a list of users, only one by one (that is why the error appears). Sorry for the inconvenience.

Regards,

Zeroqode Support Team

sendinblue multi email send. it’s a little rough around the edges but it works.

add this code to your bubble api body
{
“sender”:{
“email”:“no-reply@yourdomain”,
“name”:""
},
“subject”:"",
“templateId”:1,
“params”:{
“greeting”:“This is my default greeting”,
“headline”:“This is my default headline”
},
“to”:[
<
“email”:to email

     >  
     ]

}

  1. Set your API settings with your key

  1. You’ll need an element
    from toolbox plugin called ListItem Expression

    toolbox scrren shot

Set the listitemexpression to carry the email addresses in the correct format
'{ “email” : ’ + JSON.stringify(field(“email”)) + ‘}’

Get the data in the workflow to get the emails from the user not the email itself so don’t drill down to current users list of followers emails (for example) just current user list of followers. because the list item expression is pulling “email” right…
set data source listitemexpressiona

  1. Pass the data to the api and send the emails. you can check you have correct json format by using this Create a new json fiddle - DevFiddle. copy and paste the result in the debugger and past it between the <> while removing the <>. If you get a correctly formatted json it will work.
    call the list from the listitem expression and use the :joinwith to add a comma. Otherwise you’ll get bad format.
    call the api and send the data
    That’s it

Good luck

1 Like

Hi @serviluvapp, thanks for the provided hack.
In a short time, we will also update the plugin with few actions that might be more comfortable to use (no shrinkable JSON bodies) :wink:

Regards,
Zeroqode Support Team

NICE! Great find by-the-way with SendInBlue! You guys/gals are awesome.

1 Like

Hi @serviluvapp, thanks for your appreciation :hugs:
To check changes after yesterday’s update, please upgrade your plugin to the latest version (Version 1.7.0: “Added new actions with static fields”) and give it a try.
Also, you can rate it by going to the Plugins tab in Bubble editor. Find the plugin by name and it gives it as many stars as it deserves :slightly_smiling_face:

The more feedback we get, the more motivated we are to make things better in Bubble :gem:.
Regards,

Zeroqode Support Team

I think I see what you did there. You could use the toolbox to build the body and drop the result in the advanced field to pass the entire json body built like sendinblue wants it. THANK YOU!

{“sender”:{“name":“Alex”,“email”:"[email protected]”},“to”:[{“email":"[email protected]”,“name”:“John”}],“htmlContent”:“

Hello,

This is my first transactional email sent from Sendinblue.

”,“subject”:“Subject”}
{“sender”:{“name":“Alex”,“email”:"[email protected]”},“to”:[{“email":"[email protected]”,“name”:“John”}], “htmlContent”:“

Hello,

This is my first transactional email sent from Sendinblue.

”,“subject”:“Subject”}

Future readers on blind carbon copy

dropping “bcc”: [{“email":"[email protected]”,“name”:“Lisa”}], after the “John”}], and before “htmlContent” should work too. I did not test it in your plugin yet but I think that’s how sendinblue wants it.

Hi @serviluvapp, thanks for your suggestion.
We will pass it to the developer team for consideration.
Regards,

Zeroqode Support Team

Hello budy, how are you ? I still have this question about how to send email via sendinblue to multiple users, I’m not able to connect the API, can you show me the more detailed steps please?

Hi @gabriel.bielnube, thank you for your message, and hope you are doing well :slight_smile:

Allow us to double check with our Dev team regarding sending emails to multiple users. Once there will be an update we will get back with a message in this thread.
As for connecting the APIs I would best recommend you to go through Sendinblue documentation and read more about - https://account.sendinblue.com/advanced/api#

Hope this helps.

Regards,
Zeroqode Support Team

Thank you for your patience, @gabriel.bielnube

Unfortunately, the plugin does not have such a feature to sent emails to multiple users at once.
Though, you can try create a scheduled workflow inside Bubble that will send the emails.

Hope this helps.

Regards,
Zeroqode Support Team

Have you tried through Backend API workflows?
Looks like it did the job on my app.

Hi,
Maybe it’s a little late to answer this topic, but maybe it will help others who have the same problem with the plugin.
I’ve done it (send email to multiple recipients at once) by using the Sendinblue plugin with the Send SMTP Mail + File (Advanced) action
The first parameter “to” which should be the recipient’s email has been set to the first entry in the email list, and the rest of them (items from #2 in the list) have been set to “BCC” with an additional operator: " format as text"

The actual JSON should be something like this:

{ "sender": { "name": "Alexandr Kacinski", "email": "[email protected]" }, "to": [ { "email": "[email protected]", "name" : "Jimmy" } ], "bcc": [ { "email": "[email protected]", "name": "Helen" } , { "email": "[email protected]", "name" : "Helen" } ], "cc": [ { "email": "[email protected]", "name": "Ann" } ], "replyTo": { "email": "[email protected] ", "name": "Alexandr K" }, "attachment": [ { "url": "https://images.herzindagi.info/image/2020/Jul/tigerss-day.jpg", "name": "myAttachment.jpg" } ], "htmlContent": "<!DOCTYPE html> <html> <body> <h1>Confirm your email address</h1> <p>Confirm your email address by clicking the link below </ p> </body> </html>", "subject": "Login Confirmation Email" }

But we have to cut this part: { "email": "[email protected]", "name": "Helen" } , { "email": "[email protected]", "name": "Helen" } and put in “format as text” operator and separate them with commas “,”
You can see the details in the screenshot below :point_down:

1 Like

Hello @ZeroqodeSupport,

I see your last comment here on this subject was over a year ago, does the plugin now have a feature to send emails to multiple recipients?

@farzam.parto thank you so much for this trick! I haven’t been able to make it work for myself yet though. Still trying :muscle:

Hi @reusses, sorry for the delayed reply and thank you for the question.

This feature request is added to the plan of possible plugin improvements, so the developer team will check how feasible would be to add it in future plugin updates.

In case any news in this regard will become available, we will let you know.

If in the meanwhile there are any other plugin-related questions, please let us know :wink:

Regards,
Zeroqode Support Team