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
**html_content** | **str** | Mandatory if htmlUrl is empty. Body of the message (HTML) | [optional]
10
-
**html_url** | **str** | Mandatory if htmlContent is empty. Url to the message (HTML) | [optional]
9
+
**html_content** | **str** | Mandatory if htmlUrl and templateId are empty. Body of the message (HTML) | [optional]
10
+
**html_url** | **str** | Mandatory if htmlContent and templateId are empty. Url to the message (HTML) | [optional]
11
+
**template_id** | **int** | Mandatory if htmlContent and htmlUrl are empty. Id of the SMTP template with status 'active'. Used to copy only its content fetched from htmlContent/htmlUrl to an email campaign for RSS feature. | [optional]
11
12
**scheduled_at** | **datetime** | Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional]
12
13
**subject** | **str** | Subject of the campaign |
13
14
**reply_to** | **str** | Email on which the campaign recipients will be able to reply to | [optional]
14
-
**to_field** | **str** | To personalize the «To» Field, e.g. if you want to include the first name and last name of your recipient, use {FNAME} {LNAME}. These attributes must already exist in your contact database | [optional]
15
+
**to_field** | **str** | To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your SendinBlue account. If input parameter 'params' used please use {{contact.FNAME}} {{contact.LNAME}} for personalization | [optional]
**attachment_url** | **str** | Absolute url of the attachment (no local file). Extension allowed: 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 and eps | [optional]
17
18
**inline_image_activation** | **bool** | Use true to embedded the images in your email. Final size of the email should be less than 4MB. Campaigns with embedded images can not be sent to more than 5000 contacts | [optional][default to False]
@@ -21,6 +22,7 @@ Name | Type | Description | Notes
21
22
**footer** | **str** | Footer of the email campaign | [optional]
22
23
**header** | **str** | Header of the email campaign | [optional]
23
24
**utm_campaign** | **str** | Customize the utm_campaign value. If this field is empty, the campaign name will be used. Only alphanumeric characters and spaces are allowed | [optional]
25
+
**params** | **object** | Pass the set of attributes to customize the type classic campaign. For example, {'FNAME':'Joe', 'LNAME':'Doe'}. Only available if 'type' is 'classic' | [optional]
24
26
25
27
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/CreateSmtpTemplate.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
**html_url** | **str** | Url which contents the body of the email message. REQUIRED if htmlContent is empty | [optional]
11
11
**subject** | **str** | Subject of the template |
12
12
**reply_to** | **str** | Email on which campaign recipients will be able to reply to | [optional]
13
-
**to_field** | **str** | This is to personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. To use the contact attributes here, these must already exist in SendinBlue account | [optional]
13
+
**to_field** | **str** | To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your SendinBlue account. If input parameter 'params' used please use {{contact.FNAME}} {{contact.LNAME}} for personalization | [optional]
14
14
**attachment_url** | **str** | Absolute url of the attachment (no local file). Extension allowed: 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 and eps | [optional]
15
15
**is_active** | **bool** | Status of template. isActive = true means template is active and isActive = false means template is inactive | [optional]
Copy file name to clipboardExpand all lines: docs/UpdateEmailCampaign.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
11
11
**scheduled_at** | **datetime** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional]
12
12
**subject** | **str** | Subject of the campaign | [optional]
13
13
**reply_to** | **str** | Email on which campaign recipients will be able to reply to | [optional]
14
-
**to_field** | **str** | This is to personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. To use the contact attributes here, these must already exist in SendinBlue account | [optional]
14
+
**to_field** | **str** | To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your SendinBlue account. If input parameter 'params' used please use {{contact.FNAME}} {{contact.LNAME}} for personalization | [optional]
**attachment_url** | **str** | Absolute url of the attachment (no local file). Extension allowed: 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 and eps | [optional]
17
17
**inline_image_activation** | **bool** | Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. You cannot send a campaign of more than 4MB with images embedded in the email. Campaigns with the images embedded in the email must be sent to less than 5000 contacts. | [optional][default to False]
@@ -20,6 +20,7 @@ Name | Type | Description | Notes
20
20
**footer** | **str** | Footer of the email campaign | [optional]
21
21
**header** | **str** | Header of the email campaign | [optional]
22
22
**utm_campaign** | **str** | Customize the utm_campaign value. If this field is empty, the campaign name will be used. Only alphanumeric characters and spaces are allowed | [optional]
23
+
**params** | **object** | Pass the set of attributes to customize the type 'classic' campaign. For example, {'FNAME':'Joe', 'LNAME':'Doe'}. | [optional]
23
24
24
25
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/UpdateSmtpTemplate.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
**html_url** | **str** | Required if htmlContent is empty. URL to the body of the email (HTML) | [optional]
11
11
**subject** | **str** | Subject of the email | [optional]
12
12
**reply_to** | **str** | Email on which campaign recipients will be able to reply to | [optional]
13
-
**to_field** | **str** | To personalize the «To» Field, e.g. if you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These attributes must already exist in contacts database | [optional]
13
+
**to_field** | **str** | To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your SendinBlue account. If input parameter 'params' used please use {{contact.FNAME}} {{contact.LNAME}} for personalization | [optional]
14
14
**attachment_url** | **str** | Absolute url of the attachment (no local file). Extension allowed: 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 and eps | [optional]
15
15
**is_active** | **bool** | Status of the template. isActive = false means template is inactive, isActive = true means template is active | [optional]
"""Gets the html_url of this CreateEmailCampaign. # noqa: E501
231
241
232
-
Mandatory if htmlContent is empty. Url to the message (HTML) # noqa: E501
242
+
Mandatory if htmlContent and templateId are empty. Url to the message (HTML) # noqa: E501
233
243
234
244
:return: The html_url of this CreateEmailCampaign. # noqa: E501
235
245
:rtype: str
@@ -240,14 +250,37 @@ def html_url(self):
240
250
defhtml_url(self, html_url):
241
251
"""Sets the html_url of this CreateEmailCampaign.
242
252
243
-
Mandatory if htmlContent is empty. Url to the message (HTML) # noqa: E501
253
+
Mandatory if htmlContent and templateId are empty. Url to the message (HTML) # noqa: E501
244
254
245
255
:param html_url: The html_url of this CreateEmailCampaign. # noqa: E501
246
256
:type: str
247
257
"""
248
258
249
259
self._html_url=html_url
250
260
261
+
@property
262
+
deftemplate_id(self):
263
+
"""Gets the template_id of this CreateEmailCampaign. # noqa: E501
264
+
265
+
Mandatory if htmlContent and htmlUrl are empty. Id of the SMTP template with status 'active'. Used to copy only its content fetched from htmlContent/htmlUrl to an email campaign for RSS feature. # noqa: E501
266
+
267
+
:return: The template_id of this CreateEmailCampaign. # noqa: E501
268
+
:rtype: int
269
+
"""
270
+
returnself._template_id
271
+
272
+
@template_id.setter
273
+
deftemplate_id(self, template_id):
274
+
"""Sets the template_id of this CreateEmailCampaign.
275
+
276
+
Mandatory if htmlContent and htmlUrl are empty. Id of the SMTP template with status 'active'. Used to copy only its content fetched from htmlContent/htmlUrl to an email campaign for RSS feature. # noqa: E501
277
+
278
+
:param template_id: The template_id of this CreateEmailCampaign. # noqa: E501
279
+
:type: int
280
+
"""
281
+
282
+
self._template_id=template_id
283
+
251
284
@property
252
285
defscheduled_at(self):
253
286
"""Gets the scheduled_at of this CreateEmailCampaign. # noqa: E501
@@ -323,7 +356,7 @@ def reply_to(self, reply_to):
323
356
defto_field(self):
324
357
"""Gets the to_field of this CreateEmailCampaign. # noqa: E501
325
358
326
-
To personalize the «To» Field, e.g. if you want to include the first name and last name of your recipient, use {FNAME} {LNAME}. These attributes must already exist in your contact database # noqa: E501
359
+
To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your SendinBlue account. If input parameter 'params' used please use {{contact.FNAME}} {{contact.LNAME}} for personalization # noqa: E501
327
360
328
361
:return: The to_field of this CreateEmailCampaign. # noqa: E501
329
362
:rtype: str
@@ -334,7 +367,7 @@ def to_field(self):
334
367
defto_field(self, to_field):
335
368
"""Sets the to_field of this CreateEmailCampaign.
336
369
337
-
To personalize the «To» Field, e.g. if you want to include the first name and last name of your recipient, use {FNAME} {LNAME}. These attributes must already exist in your contact database # noqa: E501
370
+
To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your SendinBlue account. If input parameter 'params' used please use {{contact.FNAME}} {{contact.LNAME}} for personalization # noqa: E501
338
371
339
372
:param to_field: The to_field of this CreateEmailCampaign. # noqa: E501
"""Gets the params of this CreateEmailCampaign. # noqa: E501
594
+
595
+
Pass the set of attributes to customize the type classic campaign. For example, {'FNAME':'Joe', 'LNAME':'Doe'}. Only available if 'type' is 'classic' # noqa: E501
596
+
597
+
:return: The params of this CreateEmailCampaign. # noqa: E501
598
+
:rtype: object
599
+
"""
600
+
returnself._params
601
+
602
+
@params.setter
603
+
defparams(self, params):
604
+
"""Sets the params of this CreateEmailCampaign.
605
+
606
+
Pass the set of attributes to customize the type classic campaign. For example, {'FNAME':'Joe', 'LNAME':'Doe'}. Only available if 'type' is 'classic' # noqa: E501
607
+
608
+
:param params: The params of this CreateEmailCampaign. # noqa: E501
Copy file name to clipboardExpand all lines: sib_api_v3_sdk/models/create_smtp_template.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -260,7 +260,7 @@ def reply_to(self, reply_to):
260
260
defto_field(self):
261
261
"""Gets the to_field of this CreateSmtpTemplate. # noqa: E501
262
262
263
-
This is to personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. To use the contact attributes here, these must already exist in SendinBlue account # noqa: E501
263
+
To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your SendinBlue account. If input parameter 'params' used please use {{contact.FNAME}} {{contact.LNAME}} for personalization # noqa: E501
264
264
265
265
:return: The to_field of this CreateSmtpTemplate. # noqa: E501
266
266
:rtype: str
@@ -271,7 +271,7 @@ def to_field(self):
271
271
defto_field(self, to_field):
272
272
"""Sets the to_field of this CreateSmtpTemplate.
273
273
274
-
This is to personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. To use the contact attributes here, these must already exist in SendinBlue account # noqa: E501
274
+
To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your SendinBlue account. If input parameter 'params' used please use {{contact.FNAME}} {{contact.LNAME}} for personalization # noqa: E501
275
275
276
276
:param to_field: The to_field of this CreateSmtpTemplate. # noqa: E501
0 commit comments