I am trying to integrate email verification during a new user registration. I am in the beggining of this feature implementation. For this purposes in settings.py
i set the following settings
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = '[email protected]'
EMAIL_HOST_PASSWORD = 'yourpassword'
EMAIL_PORT = ????
and here is my question which EMAIL_PORT i should specify if i am working on my local computer
For gmail use 587 when TLS is true.
For other smtp providers look at the smtp servers docs or manuals for their defined port lists. This informations are publicly available for major smtp service providers.