Hi Grant, This is a Django question and not at all specific to Mezzanine. https://stackoverflow.com/questions/31324005/django-1-8-sending-mail-using-gmail-smtp includes some steps you might review to make sure you aren't missing anything and ways to test this programmatically.
hth! best, ken On Wed, Dec 27, 2017 at 1:27 PM, Grant Humphries <[email protected]> wrote: > Hi folks, > > I've had some problems trying to find a solution - mezzanine docs don't > seem to have guidance here. > > I am trying to set up the contact form to send to a g-mail address when > the user clicks "submit". From my reading, I understand that the e-mail > settings in SETTINGS.PY need to be set up. I have mine set up like this: > > EMAIL_BACKEND ='django.core.mail.backends.console.EmailBackend' > EMAIL_HOST = 'smtp.gmail.com' > EMAIL_HOST_USER = '[email protected]' > DEFAULT_FROM_EMAIL = '[email protected]' > EMAIL_HOST_PASSWORD = 'password' > EMAIL_USE_TLS = True > > When I try to test this, nothing gets sent on the contact form. I have > filled out the fields in the Mezzanine ADMIN for the contact page, where > the "From e-mail address" is > the email I configured above "[email protected]". and the "send email to > others" field has an e-mail address that I also want to forward the > information on to. The "send email to user" box is unchecked. > > Any help would be greatly appreciated. Thanks muchly > Grant > > > > -- > 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. > -- 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.
