I want to create a signup form that sends an activation key to user. This sent email shows a log-in activation link to continue to create a account. Now what i did is that i wrote these lines in my settings.py file to sent email.
ACCOUNT_ACTIVATION_DAYS=7
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_USE_TLS = False
DEFAULT_FROM_EMAIL = 'emailaddress@gamil.com'
but this is not working well or may be the way i am using this is wrong. I need your help to solve this problem. Thanks.