UNPKG

@adonisjs/mail

Version:

Mail provider for adonis framework and has support for all common mailing services to send emails

14 lines (13 loc) 496 B
import type NodeMailerTransport from 'nodemailer/lib/json-transport/index.js'; import { MailResponse } from '../mail_response.js'; import type { MailTransportContract, NodeMailerMessage } from '../types.js'; /** * JSON transport returns the mail message as a JSON object */ export declare class JSONTransport implements MailTransportContract { #private; /** * Send message */ send(message: NodeMailerMessage): Promise<MailResponse<NodeMailerTransport.SentMessageInfo>>; }