Add Reply To parameter to Mailjet node (#1732)

*  Add Reply To parameter

*  Add svg logo
This commit is contained in:
Ricardo Espinoza
2021-05-07 19:46:50 -04:00
committed by GitHub
parent fc3ebf1a4c
commit f6fdf6b5e1
6 changed files with 148 additions and 98 deletions

View File

@@ -31,9 +31,9 @@ export const emailOperations = [
export const emailFields = [
/* -------------------------------------------------------------------------- */
/* email:send */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* email:send */
/* -------------------------------------------------------------------------- */
{
displayName: 'From Email',
name: 'fromEmail',
@@ -162,11 +162,18 @@ export const emailFields = [
type: 'number',
default: 2,
},
{
displayName: 'Reply To',
name: 'replyTo',
type: 'string',
description: 'The reply-to email address. Multiple ones can be separated by comma.',
default: '',
},
{
displayName: 'Template Language',
name: 'templateLanguage',
type: 'boolean',
default: true,
default: false,
},
{
displayName: 'Track Clicks',
@@ -258,9 +265,9 @@ export const emailFields = [
},
],
},
/* -------------------------------------------------------------------------- */
/* email:sendTemplate */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* email:sendTemplate */
/* -------------------------------------------------------------------------- */
{
displayName: 'From Email',
name: 'fromEmail',
@@ -301,7 +308,10 @@ export const emailFields = [
{
displayName: 'Template ID',
name: 'templateId',
type: 'string',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getTemplates',
},
required: true,
default: '',
displayOptions: {
@@ -336,7 +346,7 @@ export const emailFields = [
displayName: 'Bcc Email',
name: 'bccEmail',
type: 'string',
description: 'Bcc Recipients of the email separated by ,.',
description: 'BCC Recipients of the email separated by ,.',
default: '',
},
{
@@ -358,6 +368,13 @@ export const emailFields = [
type: 'number',
default: 2,
},
{
displayName: 'Reply To',
name: 'replyTo',
type: 'string',
description: 'The reply-to email address. Multiple ones can be separated by comma.',
default: '',
},
{
displayName: 'Subject',
name: 'subject',
@@ -382,7 +399,7 @@ export const emailFields = [
displayName: 'Template Language',
name: 'templateLanguage',
type: 'boolean',
default: true,
default: false,
},
],
},