I have a contact form in my django app. I get the email when I try locally. When I deployed to heroku I don't get the email when someone fills out a form. They get a server error. What settings do I need to change for this?
Asked
Active
Viewed 32 times
0
-
What does the server error tell you? – Mark Lavin Sep 11 '13 at 20:19
-
What kind of error? Do you have logs? – alecxe Sep 11 '13 at 20:21
-
I have debug as false. So it just gives me a server 500 error. Do I need to purchase an add on for email service to work? currently I don't have any add ons – trant trum Sep 11 '13 at 20:21
-
3@tranttrum see https://devcenter.heroku.com/articles/smtp – alecxe Sep 11 '13 at 20:22
-
Is there a way to do it without purchasing the add on? – trant trum Sep 11 '13 at 20:23
-
@tranttrum could you show your email settings? – alecxe Sep 11 '13 at 20:30
-
EMAIL_USE_TLS = True EMAIL_HOST = 'smtp.gmail.com' EMAIL_HOST_USER = 'username@gmail.com' EMAIL_HOST_PASSWORD = 'foo' EMAIL_PORT = 587 – trant trum Sep 11 '13 at 20:31