fzaninotto / uptime

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

Setup email configuration for localhost smtp #215

Open jaugustin opened 10 years ago

jaugustin commented 10 years ago

Hi,

I try to setup my uptime to send email with a local smtp installed on the server, and a I got a hard time to do it.

To send email to local smtp it should be as simple as no setup, but that's not working because of the default.yml configuration that override it.

To send email with local smtp you have to use those settings :

email:
  method:      SMTP  # possible methods are SMTP, SES, or Sendmail
  transport:         # see https://github.com/andris9/nodemailer for transport options
    service:         # 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'

I think we should change the default configuration to an empty transport parameter Or put some documentation for this, because pointing to https://github.com/andris9/nodemailer documentation didn't help very much ;)

@fzaninotto what do you think ?

arthurzenika commented 10 years ago

+1

epinapala commented 9 years ago

+1

DivyaYash commented 9 years ago

Can some one please paste here a sample default.yaml file which has the email plugin enabled?

umair9 commented 8 years ago

+1