mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-23 04:39:08 +00:00
feat(core): Add "Sent by n8n" attribution (#7183)
Github issue / Community forum post (link here to close automatically): --------- Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
This commit is contained in:
@@ -125,7 +125,7 @@ export const messageFields: INodeProperties[] = [
|
||||
displayName: 'Email Type',
|
||||
name: 'emailType',
|
||||
type: 'options',
|
||||
default: 'text',
|
||||
default: 'html',
|
||||
required: true,
|
||||
noDataExpression: true,
|
||||
options: [
|
||||
@@ -143,6 +143,34 @@ export const messageFields: INodeProperties[] = [
|
||||
resource: ['message'],
|
||||
operation: ['send', 'reply'],
|
||||
},
|
||||
hide: {
|
||||
'@version': [2],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Email Type',
|
||||
name: 'emailType',
|
||||
type: 'options',
|
||||
default: 'html',
|
||||
required: true,
|
||||
noDataExpression: true,
|
||||
options: [
|
||||
{
|
||||
name: 'Text',
|
||||
value: 'text',
|
||||
},
|
||||
{
|
||||
name: 'HTML',
|
||||
value: 'html',
|
||||
},
|
||||
],
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: ['message'],
|
||||
operation: ['send', 'reply'],
|
||||
'@version': [2],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -171,6 +199,15 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
default: {},
|
||||
options: [
|
||||
{
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased
|
||||
displayName: 'Append n8n Attribution',
|
||||
name: 'appendAttribution',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description:
|
||||
'Whether to include the phrase “This email was sent automatically with n8n” to the end of the email',
|
||||
},
|
||||
{
|
||||
displayName: 'Attachments',
|
||||
name: 'attachmentsUi',
|
||||
|
||||
Reference in New Issue
Block a user