You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List of email addresses and names (optional) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}]
params
Hash<String, Object>
Pass the set of attributes to customize the template. For example, {"FNAME":"Joe", "LNAME":"Doe"}. It's considered only if template is in New Template Language format.
HTML body of the message. Mandatory if 'templateId' is not passed, ignored if 'templateId' is passed
[optional]
text_content
String
Plain Text body of the message. Ignored if 'templateId' is passed
[optional]
Example
require'brevo'instance=Brevo::SendSmtpEmailMessageVersionsInner.new(to: null,params: {"FNAME":"Joe","LNAME":"Doe"},bcc: null,cc: null,reply_to: null,subject: LoginEmailconfirmation,html_content: <!DOCTYPEhtml> <html> <body> <h1>Confirmyouemail</h1> <p>Please confirm your email address by clicking on the link below</p> </body> </html>,text_content: Pleaseconfirmyouremailaddressbyclickingonthelinkhttps://text.domain.com)