
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
메일 전송 코드와 스케줄러 코드 합쳐서 선생님과 똑같은 코드로 colab에서 실행하는게 게속 하기와 같은 오류가 떠요.
Chat GPT에 물어보니, 이메일 주소나 PW가 잘못되서 그런거라는데, 제대로 넣은거 몇번이나 확인했거든요?
그래도 안된다니까 Chat GPT가 지메일의 보안 설정 때문이라고 특히 보안 수준이 낮은 앱의 접근 허용이 불가능할때 발생한다는데,,
이거 어떻게 하면 될까요?
---------------------------------------------------------------------------
SMTPAuthenticationError Traceback (most recent call last)
<ipython-input-31-584b0c6c8fdd> in <cell line: 53>()
52
53 while True:
---> 54 schedule.run_pending()
55 time.sleep(1)
7 frames
/usr/lib/python3.10/smtplib.py in auth(self, mechanism, authobject, initial_response_ok)
660 if code in (235, 503):
661 return (code, resp)
--> 662 raise SMTPAuthenticationError(code, resp)
663
664 def auth_cram_md5(self, challenge=None):
SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted. For more information, go to\n5.7.8 https://support.google.com/mail/?p=BadCredentials a1e0cc1a2514c-80f728cb3f7sm1860193241.11 - gsmtp')
