Trouble setting up Email
Our instance is up but we are unable to send emails. I have sent a test email with mutt (while using exim4) and the test arrived yet anything sent from the Loomio app does not. I've been working on this for the last two weeks and have tried solution from other posters but to no avail. Is there a way to remove the sent email requirement for signing in so we can at least use the program while working on the solution? Can I set a password through the rails console for individual users and work around the issue? Thanks in advance for you help.
P.S. I also had to sign into this site (loomio.org) through Google, as entering my email did not work. Is there an issue between loomio and email?
Using mailjet for SMTP
env file for SMTP:
SMTP_DOMAIN=mysite.org
SMTP_SERVER=in-v3.mailjet.com
SMTP_PORT=587
SMTPUSERNAME=verylongstring
SMTP_PASSWORD=anotherlongstring
SMTP_USE_SSL=1
REPLY_HOSTNAME=loomio.mysite.org
From the loomio logs (emails modified for this post):
loomio-app | source=rack-timeout id=6606a83e-bebd-40ee-9184-35550e3cb3d0 timeout=15000ms state=ready
loomio-app | Started GET "/api/v1/profile/emailstatus?email=email@example.com for <ip removed> at 2020-03-22 23:22:17 +0000
loomio-app | Processing by API::ProfileController#email_status as JSON
loomio-app | Parameters: {"email"=>"[email protected]", "profile"=>{}}
loomio-app | Completed 200 OK in 59ms (Views: 2.1ms | ActiveRecord: 8.6ms)
loomio-app | source=rack-timeout id=6606a83e-bebd-40ee-9184-35550e3cb3d0 timeout=15000ms service=71ms state=completed