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

Can't send mail using SendGrid as provider #229

Closed mflopez79 closed 10 years ago

mflopez79 commented 10 years ago

I was trying to use sendgrid to send alerts, and it always fails with this error

"Email plugin error: SenderError: Mail from command failed - 501 Syntax error"

When I use gmail as provider, works ok. I tried on two different servers with same error; and manual telnet connection works.

Could you please take a look at it? Thanks!

mflopez79 commented 10 years ago

The error actually was related to the way that sender was configured. Once I made sure that sender was in the form 'Sender Name email@domain.com' (with the simple quotes) all worked perfectly