diff --git a/nodemailer-smtp-transport/nodemailer-smtp-transport.d.ts b/nodemailer-smtp-transport/nodemailer-smtp-transport.d.ts index a12d66991..3a4c626b0 100644 --- a/nodemailer-smtp-transport/nodemailer-smtp-transport.d.ts +++ b/nodemailer-smtp-transport/nodemailer-smtp-transport.d.ts @@ -18,6 +18,40 @@ declare module "nodemailer-smtp-transport" { } export interface SmtpOptions { + /** + * Fills in certain SMTP configurations options (e.g. 'host', 'port', and 'secure') for + * well-known services. Possible values: + * - '1und1' + * - 'AOL' + * - 'DebugMail.io' + * - 'DynectEmail' + * - 'FastMail' + * - 'GandiMail' + * - 'Gmail' + * - 'Godaddy' + * - 'GodaddyAsia' + * - 'GodaddyEurope' + * - 'hot.ee' + * - 'Hotmail' + * - 'iCloud' + * - 'mail.ee' + * - 'Mail.ru' + * - 'Mailgun' + * - 'Mailjet' + * - 'Mandrill' + * - 'Naver' + * - 'Postmark' + * - 'QQ' + * - 'QQex' + * - 'SendCloud' + * - 'SendGrid' + * - 'SES' + * - 'Sparkpost' + * - 'Yahoo' + * - 'Yandex' + * - 'Zoho' + */ + service?: string; /** * is the port to connect to (defaults to 25 or 465) */