From 7b8ea51e54f0e4708f37373957f585074cb7f489 Mon Sep 17 00:00:00 2001 From: Daniel Neumann Date: Mon, 24 Feb 2020 17:21:03 +0100 Subject: [PATCH] add bcc field to EmailSend --- packages/nodes-base/nodes/EmailSend.node.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/EmailSend.node.ts b/packages/nodes-base/nodes/EmailSend.node.ts index e7ed990bfe..d2680ef717 100644 --- a/packages/nodes-base/nodes/EmailSend.node.ts +++ b/packages/nodes-base/nodes/EmailSend.node.ts @@ -33,7 +33,7 @@ export class EmailSend implements INodeType { } ], properties: [ - // TODO: Add cc, bcc and choice for text as text or html (maybe also from name) + // TODO: Add choice for text as text or html (maybe also from name) { displayName: 'From Email', name: 'fromEmail', @@ -61,6 +61,15 @@ export class EmailSend implements INodeType { placeholder: 'cc@example.com', description: 'Email address of CC recipient.', }, + { + displayName: 'BCC Email', + name: 'bccEmail', + type: 'string', + default: '', + required: false, + placeholder: 'bcc@example.com', + description: 'Email address of BCC recipient.', + }, { displayName: 'Subject', name: 'subject', @@ -123,6 +132,7 @@ export class EmailSend implements INodeType { const fromEmail = this.getNodeParameter('fromEmail') as string; const toEmail = this.getNodeParameter('toEmail') as string; const ccEmail = this.getNodeParameter('ccEmail') as string; + const bccEmail = this.getNodeParameter('bccEmail') as string; const subject = this.getNodeParameter('subject') as string; const text = this.getNodeParameter('text') as string; const html = this.getNodeParameter('html') as string; @@ -162,6 +172,7 @@ export class EmailSend implements INodeType { from: fromEmail, to: toEmail, cc: ccEmail, + bcc: bccEmail, subject, text, html,