WRSC / tracking

WRSC boat tracking system with web dashboard
Other
13 stars 7 forks source link

Unable to send activation email #23

Open tsaoyu opened 6 years ago

tsaoyu commented 6 years ago

The tracking website is not able to deliver activation email to the teams.

image

tsaoyu commented 6 years ago

This might due to use of the development environment in the production. However, there is still an internal server error when I switch to production mode.

So for this year competition, I will create an account for each team using seed file beforehand.

zysim commented 6 years ago

TL;DR Go here and check the box.

The 500 error is due to Gmail's security settings. This guide shows how to solve this issue; specifically this link, which, once set, will allow "less secure apps" to access the email. This of course means we need access to the Gmail account in the first place.

I've tested a production build on my local machine, using my own email, and configuring that Gmail setting, and it works; the email is successfully sent.

However, it seems that the page doesn't redirect to the "please check your email for the activation link" page. production.log spits out a FileNotFound error too. I'll look into this tomorrow.

zysim commented 6 years ago

Okay so my previous FileNotFound error is gone. Everything works as usual. Oh well.