@zingersystems/parse-server-api-mail-adapter
Version:
Universal Mail Adapter for Parse Server, supports any email provider REST API, with localization and templates - both built-in and external.
21 lines (19 loc) • 554 B
JavaScript
/* eslint-disable no-unused-vars */
/**
* Mail Adapter prototype
* A MailAdapter should implement at least sendMail()
*/
class MailAdapter {
/*
* A method for sending mail
* @param options would have the parameters
* - to: the recipient
* - text: the raw text of the message
* - subject: the subject of the email
*/
sendMail(options) {}
sendVerificationEmail({ link, appName, user }) {}
sendPasswordResetEmail({ link, appName, user }) {}
}
module.exports = MailAdapter;
//# sourceMappingURL=MailAdapter.js.map
;