Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
19 lines
699 B
Plaintext
19 lines
699 B
Plaintext
import type { Transporter } from 'nodemailer';
|
|
import type SMTPConnection from 'nodemailer/lib/smtp-connection';
|
|
import type { EmailAdapter } from 'payload';
|
|
export type NodemailerAdapterArgs = {
|
|
defaultFromAddress: string;
|
|
defaultFromName: string;
|
|
skipVerify?: boolean;
|
|
transport?: Transporter;
|
|
transportOptions?: SMTPConnection.Options;
|
|
};
|
|
type NodemailerAdapter = EmailAdapter<unknown>;
|
|
/**
|
|
* Creates an email adapter using nodemailer
|
|
*
|
|
* If no email configuration is provided, an ethereal email test account is returned
|
|
*/
|
|
export declare const nodemailerAdapter: (args?: NodemailerAdapterArgs) => Promise<NodemailerAdapter>;
|
|
export {};
|
|
//# sourceMappingURL=index.d.ts.map |