Installation
Install the@perseidesjs/notification-nodemailer plugin in your Medusa project:
nodemailer package:
Configuration
Add the plugin to yourmedusa-config.ts:
Environment Variables
Create a.env file with your SMTP configuration:
Required Options
from: Default sender email addresshost: SMTP server hostnameport: SMTP server port (e.g., 587 for TLS, 465 for SSL)
Optional Options
secure: Use TLS/SSL (default: false)auth: Authentication credentials (user and pass)- Any other Nodemailer SMTP options