Link to plugin page: https://zeroqode.com/plugin/sendinblue-smtp-1550378934452x281785382632685570
Send mails to your customers with Sendinblue using your SMTP account, a free alternative instead of using Sendgrid. Also a good choice for sending emails without using default admin-no-reply@bubble.is This plugin uses the v3 API version (last version)
Prerequisites
To use this plugin you will need to:
You're set to send emails!
There are 4 different workflows, below is explained for correct usage.
1. Get a List of emails
This endpoint will show the list of emails for the past 30 days by default. To retrieve emails before that time, please pass startDate and endDate in query filters.
You have 5 types of sorting to get the list of emails. You must specify at least one type for the call to work correctly.
1. email Mandatory if templateId and messageId are not passed in query filters. Email address to which transactional email has been sent. 2. templateId Mandatory if email and messageId are not passed in query filters. Id of the template that was used to compose a transactional email. 3. messageId Mandatory if templateId and email are not passed in query filters. Message-ID of the transactional email sent. 4. startDatedate Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. The maximum time period that can be selected is one month. 5. endDatedate Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. The maximum time period that can be selected is one month.
2. Send SMTP Mail
We will use this workflow when we need to send a simple message to a user. This workflow is useful i.e for sending an activation URL, reset password, etc.How to use (fields): (The * fields are required)
3. Send SMTP Mail + File
This workflow is used when we need to send a simple message with an attached file. This workflow is useful i.e for sending invoices, birthday postals, or others. (We recommend use this workflow only when you need to send a file, because the file is required, so if you need to send only a message, don't use this one)
NOTE: You cannot use double quotes in subject or message ("some text")!
How to use (fields): (All the other fields are the same as point 1)
NOTE: Don't use both fields (URL and content) at the same time !!!
(Next 2 workflows: Templates). Please note you need a template. The sender name, sender mail is configured in Sendinblue when the template is created.
4. Send SMTP Mail + Template
You can send an email with a template created in your Sendinblue account.
Customize the call body according to your requirements:
The Example JSON body:
You can customize the {body} content of the Send SMTP Mail + Template action. For example, you can add the sender name, reply_to name fields, and many more. It is necessary to stick to the JSON syntax rules. You can vaildate your {body} using any free JSON validator, like https://jsonlint.com/
The Sendinblue documentation can be viewed here https://developers.sendinblue.com/reference/transactional-emails
To insert a template, add the required parameter to the call body
where number is the template ID.
To add params from the template, add the required parameter to the call body
where "name" is the paramsKey, "Alex K" is the paramsName
In the template on the Sendinblue side, the parameters are written as follows {{ params.paramsKey }}
5. Send SMTP Mail with ReplyTo
This workflow is used when we need to send a simple message with replyto parameter.
Update: 31/12/2020 –
Update: 03/06/2021 - Version 1.5.0
Update: 23/08/2020 - Version 1.7.0