mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
🔀 Merge branch 'patch-1' of https://github.com/neumann-d/n8n into neumann-d-patch-1
This commit is contained in:
commit
c5597cd4d2
|
@ -33,7 +33,7 @@ export class EmailSend implements INodeType {
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
properties: [
|
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',
|
displayName: 'From Email',
|
||||||
name: 'fromEmail',
|
name: 'fromEmail',
|
||||||
|
@ -61,6 +61,15 @@ export class EmailSend implements INodeType {
|
||||||
placeholder: 'cc@example.com',
|
placeholder: 'cc@example.com',
|
||||||
description: 'Email address of CC recipient.',
|
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',
|
displayName: 'Subject',
|
||||||
name: 'subject',
|
name: 'subject',
|
||||||
|
@ -123,6 +132,7 @@ export class EmailSend implements INodeType {
|
||||||
const fromEmail = this.getNodeParameter('fromEmail') as string;
|
const fromEmail = this.getNodeParameter('fromEmail') as string;
|
||||||
const toEmail = this.getNodeParameter('toEmail') as string;
|
const toEmail = this.getNodeParameter('toEmail') as string;
|
||||||
const ccEmail = this.getNodeParameter('ccEmail') as string;
|
const ccEmail = this.getNodeParameter('ccEmail') as string;
|
||||||
|
const bccEmail = this.getNodeParameter('bccEmail') as string;
|
||||||
const subject = this.getNodeParameter('subject') as string;
|
const subject = this.getNodeParameter('subject') as string;
|
||||||
const text = this.getNodeParameter('text') as string;
|
const text = this.getNodeParameter('text') as string;
|
||||||
const html = this.getNodeParameter('html') as string;
|
const html = this.getNodeParameter('html') as string;
|
||||||
|
@ -162,6 +172,7 @@ export class EmailSend implements INodeType {
|
||||||
from: fromEmail,
|
from: fromEmail,
|
||||||
to: toEmail,
|
to: toEmail,
|
||||||
cc: ccEmail,
|
cc: ccEmail,
|
||||||
|
bcc: bccEmail,
|
||||||
subject,
|
subject,
|
||||||
text,
|
text,
|
||||||
html,
|
html,
|
||||||
|
|
Loading…
Reference in a new issue