UNPKG

@athenna/mail

Version:

The Athenna email handler. Built on top of nodemailer.

29 lines (28 loc) 715 B
/** * @athenna/mail * * (c) Victor Tesoura Júnior <txsoura@athenna.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ export declare class DriverFactory { /** * Driver of driver factory. */ static drivers: Map<string, { Driver: any; }>; /** * Return an array of all available drivers. */ static availableDrivers(): string[]; /** * Fabricate a new instance of a driver based in mailer configurations. */ static fabricate(mailerName: string, runtimeConfig?: any): any; /** * Get all mailer configuration. */ private static getMailerConfig; }