MattArnold / tuxtrax

Penguicon Scheduling Web App
GNU General Public License v3.0
15 stars 11 forks source link

Rejecting Or Accepting An Event Gives An Error #114

Closed MattArnold closed 10 years ago

MattArnold commented 10 years ago

The only status you can put an event submission into is "Followed Up". The others give this error:

SMTPSenderRefused: (530, '5.5.1 Authentication Required. Learn more at\n5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257

That URL suggests this is a problem with authentication.

jquesnelle commented 10 years ago

It is giving this error because the username/password for the e-mail account are inherited from the OS environment variables; on your localhost server they aren't set so we don't provide any to GMail, which rejects the connection. On the deployed Heroku app these are set on the command line using the heroku config:set command... if you accept/reject an event on the actual site it will send the e-mail correctly (I just retested this again). If you really want e-mail to work locally you will need to set the environment variables under "Optional: Set up notification e-mails" in the README to the values I e-mailed you a couple of days ago