I'm having issues sending email messages with Metoer. Im getting "Email is not defined" error. I've tried "meteor add email" but it didnt help.
Am I missing something?
did you setup the MAIL_URL environment variable ?
From meteor docs :
The server reads from the MAIL_URL environment variable to determine how to send mail. Currently, Meteor supports sending mail over SMTP; the MAIL_URL environment variable should be of the form smtp://USERNAME:PASSWORD@HOST:PORT/.
For apps deployed with meteor deploy, MAIL_URL defaults to an account (provided by Mailgun) which allows apps to send up to 200 emails per day; you may override this default by assigning to process.env.MAIL_URL before your first call to Email.send.
If MAIL_URL is not set (eg, when running your application locally), Email.send outputs the message to standard output instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With