n8n/packages/nodes-base/credentials/Smtp.credentials.ts
कारतोफ्फेलस्क्रिप्ट™ c738aa53e9
docs: Fix all credential documentation urls, and add a CI job to regularly validate these urls (#5012)
* add or update documentation URLs for all credentials

* add UTM params to documentation urls even when they are absolute urls

* Setup a CI job to validate documentation urls after every release

* Fix FacebookGraphApi documentation URL

* also validate node documentation urls

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-12-22 17:01:29 +01:00

46 lines
715 B
TypeScript

import { ICredentialType, INodeProperties } from 'n8n-workflow';
export class Smtp implements ICredentialType {
name = 'smtp';
displayName = 'SMTP';
documentationUrl = 'sendemail';
properties: INodeProperties[] = [
{
displayName: 'User',
name: 'user',
type: 'string',
default: '',
},
{
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: {
password: true,
},
default: '',
},
{
displayName: 'Host',
name: 'host',
type: 'string',
default: '',
},
{
displayName: 'Port',
name: 'port',
type: 'number',
default: 465,
},
{
displayName: 'SSL/TLS',
name: 'secure',
type: 'boolean',
default: true,
},
];
}