Thank you everyone for all your great suggestions! After hours of debugging, I think the problem is Google gmail itself. I disabled CAPTCHA for clients at http://www.google.com/accounts/DisplayUnlockCaptcha and the emails seem to go through now. No more error when debug=False
On Tuesday, July 5, 2016 at 1:31:32 AM UTC-5, Tran wrote: > > > Hello all, > > I am encounter a weird issue where the email functionality of my site > breaks whenever I put debug=False. First, I suspected the static files were > not loaded correctly, I then put Allowed-host=['*'] and run python > manage.py runserver --insecure. Doing so made the site loaded correctly, > yet my site's contact form still breaks whenever debug=false. > > I created the Contact Me form using mezzanine and set it to email to me > whenever someone fill out that form on my website. The contact form works > perfectly (email got sent) in Debug=True, yet whenever I switched to > debug=False, the form would just give me 404 error after I submitted the > contact form. > > Any ideas how to approach this are greatly appreciated. Thank you > everyone! > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
