Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMTP configuration #20

Closed
Akonibrahim opened this issue Aug 29, 2018 · 4 comments
Closed

SMTP configuration #20

Akonibrahim opened this issue Aug 29, 2018 · 4 comments

Comments

@Akonibrahim
Copy link

Akonibrahim commented Aug 29, 2018

Hi vitor I luv u r blog, I'm new to Django.I tried to configure the SMTP credentials with my gmail account but it shows the following error

(534, b'5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbs7\n5.7.14 2l5c6kcSl2yytD4zgorjL0Q3EqDTiRku3-j6FOCGculTKd372DUbmphw_zMwXbIvycvOle\n5.7.14 8z9GVcLkfz9Sfi9Q-fsnISUFCMcIOFT0yKbkjXBM-0toUMDt0euYHmR7rwjudOiHHlIRA0\n5.7.14 szcgbeIXK37nI0cRVWGpumhvG5Bgrmn16zPldm85u9M0wxG-jUl72NidIOZhwM-WLjvQ7j\n5.7.14 hzI-cSmW-29QoAY4uGjl_TJcTlVQW1abkeSqfJQO-Go06vynYi> Please log in via\n5.7.14 your web browser and then try again.\n5.7.14 Learn more at\n5.7.14 https://support.google.com/mail/answer/78754 b21-v6sm10353954pfm.97 - gsmtp')

image

And also I got a mail from gmail saying Sign In attempt was blocked
So I think gmail won't allow me to use their service for bulk mailing or
Any suggestions .. Thank you in advance

@rbrtjns90
Copy link

You have to log into your gmail account from your browser. This happens with Gmail when you enable smtp/imap and don’t use Oauth to send the email due to it not being as insecure as Oauth.

@vitorfs
Copy link
Owner

vitorfs commented Aug 29, 2018

Gmail is not suitable for bulk mailing, if I'm not mistaken, they also have some daily send limits for personal accounts

For test purpose I guess it's fine to use it, but I think you need first to do some minor configuration on your Gmail account so to allow sending emails via smtp

Also for the time being you should add your smtp credentials to the settings file:

https://github.com/vitorfs/colossus/blob/master/colossus/settings.py#L149

This custom smtp configuration per mailing list is not ready yet

@Akonibrahim
Copy link
Author

Thanks rbrtjns90

@Akonibrahim
Copy link
Author

Thanks vitor keep doing great things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants