When you send an email and process.env.MAIL_URL
is not set, meteor will log the contents of the email.
If you’re using an email template, this can amount to 100s of logs per email.
Is it possible to disable this to avoid spamming the console?
When you send an email and process.env.MAIL_URL
is not set, meteor will log the contents of the email.
If you’re using an email template, this can amount to 100s of logs per email.
Is it possible to disable this to avoid spamming the console?
According to the docs the mail is sent to stdout
, so you could just redirect to /dev/null
.
I was thinking more along the lines of
meteor >/dev/null
in dev, or
node main.js >/dev/null
in production. Of course, if you’re using /dev/null
for something, this isn’t a good solution!