opengovfoundation / madison

Madison is a platform for lawmakers to share legislation with their citizens, allowing the community to add comments and suggest improvements.
GNU General Public License v3.0
674 stars 108 forks source link

Sendgrid function #977

Open johnfelipe opened 8 years ago

johnfelipe commented 8 years ago

I can recieved email notification, i have sendgrid account, how fix it

doshitan commented 8 years ago

For any email provider you need to set the appropriate variables in the .env file. For SendGrid, the email section should look something like:

MAIL_DRIVER=smtp
MAIL_HOST=smtp.sendgrid.net
MAIL_PORT=587
MAIL_USERNAME=yourSendgridUsername
MAIL_PASSWORD=yourSendgridPassword

With the username and password filled in with your correct SendGrid account information.

johnfelipe commented 8 years ago

yes i do that, but is not working

2016-05-23 14:44 GMT-05:00 Tanner Doshier notifications@github.com:

For any email provider you need to set the appropriate variables in the .env file. For SendGrid, the email section should look something like:

MAIL_DRIVER=smtp MAIL_HOST=smtp.sendgrid.net MAIL_PORT=587 MAIL_USERNAME=yourSendgridUsername MAIL_PASSWORD=yourSendgridPassword

With the username and password filled in with your correct SendGrid account information.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/opengovfoundation/madison/issues/977#issuecomment-221074757

johnfelipe commented 8 years ago

when i sign up user is not recieved email, why?

krusynth commented 8 years ago

You'll need to check the email log at SendGrid to see if it's even trying to send the emails. If not, double check the host, port, username, password, and driver.

sethetter commented 8 years ago

@johnfelipe did you happen to get this worked out?

johnfelipe commented 8 years ago

Nop, is not working how can i solved

sethetter commented 8 years ago

@johnfelipe did you happen to check the log on SendGrid to see if the emails are going through there?

IuliiSe commented 7 years ago

hi @sethetter ! I have a similar issue - the app does not send out email notifications.

I've configured Sendgrid credentials in .env and tested it via telenet (telnet smtp.sendgrid.net 587.

It works. So, the emails can be send out manually, but not by the app.

Is there a need to look into the services?

sethetter commented 7 years ago

@IuliiSe @johnfelipe we've deployed a new version! Can you try that out and see if you're still having issues with SendGrid? Also, is this for a locally running instance? Or on a public server somewhere?