Built by

nerkarso

Category

Other

Version

1.4.0

Last updated

Jun 10, 2024, 16:30:29 PM6 months ago

medusa-plugin-mailer

A notification service to send transactional emails with Nodemailer.

Usage

{
resolve: 'medusa-plugin-mailer',
options: {
fromEmail: process.env.EMAIL_FROM,
transport: {
host: process.env.EMAIL_SMTP_HOST,
port: process.env.EMAIL_SMTP_PORT,
secure: JSON.parse(process.env.EMAIL_SMTP_SECURE),
auth: {
user: process.env.EMAIL_SMTP_USER,
pass: process.env.EMAIL_SMTP_PASSWORD,
},
},
},
}
  • Copy to clipboardtransport
    • This is a Nodemailer transport options object, see docs.

Acknowledgement

Part of the source code is borrowed from:

Build your own plugins

Develop your own plugins with our API to speed up your processes.

Make your plugin available via npm for it to be shared in our Plugin Library with the broader Medusa community.