Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 3.34 KB

SendSmtpEmail.md

File metadata and controls

22 lines (18 loc) · 3.34 KB

SendSmtpEmail

Properties

Name Type Description Notes
sender \SendinBlue\Client\Model\SendSmtpEmailSender [optional]
to \SendinBlue\Client\Model\SendSmtpEmailTo[] List of email addresses and names (optional) of the recipients. For example, `[{"name":"Jimmy", "email":"[email protected]"}, {"name":"Joe", "email":"[email protected]"}]`
bcc \SendinBlue\Client\Model\SendSmtpEmailBcc[] List of email addresses and names (optional) of the recipients in bcc [optional]
cc \SendinBlue\Client\Model\SendSmtpEmailCc[] List of email addresses and names (optional) of the recipients in cc [optional]
htmlContent string HTML body of the message ( Mandatory if 'templateId' is not passed, ignored if 'templateId' is passed ) [optional]
textContent string Plain Text body of the message ( Ignored if 'templateId' is passed ) [optional]
subject string Subject of the message. Mandatory if 'templateId' is not passed [optional]
replyTo \SendinBlue\Client\Model\SendSmtpEmailReplyTo [optional]
attachment \SendinBlue\Client\Model\SendSmtpEmailAttachment[] Pass the absolute URL (no local file) or the base64 content 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"}, {"content":"base64 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 and odt ( If 'templateId' is passed and is in New Template Language format then only attachment url is accepted. If template is in Old template Language format, then 'attachment' is ignored ) [optional]
headers object Pass the set of 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. For example, `{"Content-Type":"text/html", "charset":"iso-8859-1", "sender.ip":"1.2.3.4"}` [optional]
templateId int Id of the template [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]
tags string[] Tag your emails to find them more easily [optional]

[Back to Model list] [Back to API list] [Back to README]