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:

silvio@1.com.br; pedro@1.com.br

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 http://devfiddle.org/json. 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”:"senderMail@mail.com”},“to”:[{“email":"to_email@mail.com”,“name”:“John”}],“htmlContent”:“

Hello,

This is my first transactional email sent from Sendinblue.

”,“subject”:“Subject”}
{“sender”:{“name":“Alex”,“email”:"senderMail@mail.com”},“to”:[{“email":"to_email@mail.com”,“name”:“John”}], “htmlContent”:“

Hello,

This is my first transactional email sent from Sendinblue.

”,“subject”:“Subject”}

Future readers on blind carbon copy

dropping “bcc”: [{“email":"to_bccemail@mail.com”,“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 - Login to your Brevo account.

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": "exampleFrom@gmail.com" }, "to": [ { "email": "jimmy98@example.com", "name" : "Jimmy" } ], "bcc": [ { "email": "helen9766@example.com", "name": "Helen" } , { "email": "alexmail@example.com", "name" : "Helen" } ], "cc": [ { "email": "ann6533@example.com", "name": "Ann" } ], "replyTo": { "email": "replyTo@gmail.com ", "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": "helen9766@example.com", "name": "Helen" } , { "email": "alexmail@example.com", "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

Still nothing? Would be interested in this as well.

Hello @ben.bracquene, :wave:

Thank you for your message. We will check with our developers once again regarding the possibility of adding sending email to multiple recipients and get back to you. :wave:

Thank you for your patience.

Best regards,
Daniel

Hello @ben.bracquene! :wave:

We are pleased to inform you that our plugin was updated, and the latest update is version 1.18.0. - Added “Send batch emails” action adds the possibility to send batch emails as you requested. Also the plugin documentation was updated with the info about this new action:


We hope this enhancement will meet your needs and look forward to hearing your feedback. Please update to the latest version to benefit from this improvement.

Please let us know if everything works well inside your app. :slightly_smiling_face:

Looking forward to your reply!

Best Regards,
Zeroqode Support Team.

Hi @ben.bracquene, :wave:

Just following up on our previous message regarding the plugin update 1.18.0, which includes the new “Send batch emails” action. We hope this enhancement meets your needs.

Have you had a chance to update and test it in your app? Please let us know if everything is working well or if you need any further assistance.

Looking forward to your feedback! :slightly_smiling_face:

Best Regards,
Zeroqode Support Team

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?