fzaninotto / uptime

A remote monitoring application using Node.js, MongoDB, and Twitter Bootstrap.
http://fzaninotto.github.com/uptime/
MIT License
3.62k stars 706 forks source link

simple config with email plugin for the rest of us #321

Open vnugent opened 8 years ago

vnugent commented 8 years ago

I'm trying to enable email plugin for uptime on OpenShift. Can you please show a simple, out-of-the-box .yaml configuration for direct transport?

DivyaYash commented 8 years ago

Did you figure it out? If yes, can u please post the default.yaml file here? Am unable to find the correct method to get the email notifications setup for uptime!

nikhilve99 commented 7 years ago

HI, i am not able to send mails from email plugin can you check my default.yaml file and revert where i am doing mistake.

plugins:

email: method: SMTP # possible methods are SMTP, SES, or Sendmail transport: # see https://github.com/andris9/nodemailer for transport options service: Gmail # see https://github.com/andris9/Nodemailer/blob/master/lib/wellknown.js for well-known services auth: user: # The email account username, e.g. 'username@gmail.com' pass: # The email account password, e.G. 'password' event: up: true down: true paused: false restarted: false message: from: # The message sender, e.g. 'Fred Foo foo@blurdybloop.com' to: # The message recipient, e.g. 'bar@blurdybloop.com, baz@blurdybloop.com'

The email plugin also uses the main url param for hyperlinks in the sent emails

Regards Nikhil