Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions packages/nodes-base/nodes/EmailSend.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ export class EmailSend implements INodeType {
placeholder: 'info@example.com',
description: 'Email address of the recipient.',
},
{
displayName: 'CC Email',
name: 'ccEmail',
type: 'string',
default: '',
required: false,
placeholder: 'cc@example.com',
description: 'Email address of CC recipient.',
},
{
displayName: 'Subject',
name: 'subject',
Expand Down Expand Up @@ -96,6 +105,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 subject = this.getNodeParameter('subject') as string;
const text = this.getNodeParameter('text') as string;
const html = this.getNodeParameter('html') as string;
Expand All @@ -122,6 +132,7 @@ export class EmailSend implements INodeType {
const mailOptions = {
from: fromEmail,
to: toEmail,
cc: ccEmail,
subject,
text,
html,
Expand Down