Wpis z mikrobloga

@wafel93: Ok. Biblioteka smtplib lib jest biblioteką standardową - w pierwszej kolejności uderzaj to oficjalnej dokumentacji, bo ona na pewno będzie aktualna i dobrej jakości.
A z tego co pamiętam to spróbuj zmienić port na 25.
  • Odpowiedz
@wafel93: czytnąłeś komentarze pod tym tutorialem? Wszystko jest wyjaśnione :]

gmail has a security policy that prevents logging into gmail accounts using "server.login(username,password)",


It turns out that in order for Google to authorize a third party server to access your account via SMTP now, you have to enable “Less Secure Apps” on your gmail account.
  • Odpowiedz