EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'laike9m@gmail.com'
EMAIL_HOST_PASSWORD = os.environ['EMAIL_HOST_PASSWORD']
ADMINS = ('your_name', 'your_email'),
MANAGERS = ADMINS
How to use django-contact-form (third-party app)?