From 9c81b50d1f3cd49ec38c581f7dc9a95aa5234c09 Mon Sep 17 00:00:00 2001 From: sushix2 Date: Thu, 26 Aug 2021 23:20:39 -0700 Subject: [PATCH] Update SendSmtpEmail.md Hi There, I'm a developer and I just have a suggestion. For your documentation with regards to the java library for send transactional emails and how you set custom merge variables not part of the contact. I had to find the solution from this stack overflow thread https://stackoverflow.com/questions/56352530/how-do-i-set-transactional-email-attributes-in-sendinblue-api-v3/64632264#64632264 It would have been a lot easier if it was just documented here. Thank you for your time. Allan --- docs/SendSmtpEmail.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/SendSmtpEmail.md b/docs/SendSmtpEmail.md index c5df15e..830eda2 100644 --- a/docs/SendSmtpEmail.md +++ b/docs/SendSmtpEmail.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **attachment** | [**List<SendSmtpEmailAttachment>**](SendSmtpEmailAttachment.md) | Pass the absolute URL (no local file) or the byte array ( Encoded to base64 chunk data at our end ) of the attachment along with the attachment name (Mandatory if attachment content is passed). For example, [{"url":"https://attachment.domain.com/myAttachmentFromUrl.jpg", "name":"My attachment 1.jpg"}, {"content":"byte array exmaple content", "name":"My attachment 2"}]. Allowed extensions for attachment file: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub, eps, odt, mp3, m4a, m4v, wma, ogg, flac, wav, aif, aifc, aiff, mp4, mov, avi, mkv, mpeg, mpg and wmv ( If 'templateId' is passed and is in New Template Language format then both attachment url and content are accepted. If template is in Old template Language format, then 'attachment' is ignored ) | [optional] **headers** | **Object** | Pass the set of custom headers (not the standard headers) that shall be sent along the mail headers in the original email. 'sender.ip' header can be set (only for dedicated ip users) to mention the IP to be used for sending transactional emails. Headers are allowed in `This-Case-Only` (i.e. words separated by hyphen with first letter of each word in capital letter), they will be converted to such case styling if not in this format in the request payload. For example, `{"sender.ip":"1.2.3.4", "X-Mailin-custom":"some_custom_header"}`. | [optional] **templateId** | **Long** | Id of the template. Mandatory if messageVersions are passed | [optional] -**params** | **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. | [optional] +**params** | **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. If using feature on a transactional email template use {{params.YOURVARIABLEHERE}} on the template | [optional] **messageVersions** | [**List<SendSmtpEmailMessageVersions>**](SendSmtpEmailMessageVersions.md) | You can customize and send out multiple versions of a templateId. Some global parameters such as **to(mandatory), bcc, cc, replyTo, subject** can also be customized specific to each version. The size of individual params in all the messageVersions shall not exceed 100 KB limit and that of cumulative params shall not exceed 1000 KB. This feature is currently in its beta version. You can follow this **step-by-step guide** on how to use **messageVersions** to batch send emails - https://developers.sendinblue.com/docs/batch-send-transactional-emails | [optional] **tags** | **List<String>** | Tag your emails to find them more easily | [optional]