On 25 September 2017 at 07:59, jenia mtl <[email protected]> wrote:
> Hello. > > How do I setup a contact service? > > Right now I get this error: > > POST /contact/ HTTP/1.1" 500 118061 > > > Do I need to implement the view myself that will be sending the email? Or > is there a Django app for this? > Hi Jenia, Do you mean a web form that people can fill in and send information to you? Just create a Form page in your page hierarchy. If you've set up the EMAIL_* related setting fields correctly, and your server can send email, you can easily get the form contents emailed to you. Mezzanine's default models/views make use of the Django SMTP backend to send email. You will need to set up the appropriate fields in your settings: https://docs.djangoproject.com/en/1.11/topics/email/#smtp-backend You can use a local SMTP server, or sign up for one of the online ones that allow you to post email messages via https, such as https://sendgrid.com Seeya. Danny. -- 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.
