커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
메일 자동화 에러
[왕초보] ChatGPT 300% 활용하기 v0
4주차
북마크
박*홍
댓글
3
추천
0
조회수
6
조회수
6
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


메일 자동화 코드를 그대로 따라 했음에도 불구하고 에러가 계속 나는데요..



SMTPAuthenticationError                   Traceback (most recent call last)
<ipython-input-23-739cc92da451> in <cell line: 64>()
     63 
     64 while True:
---> 65     schedule.run_pending()
     66     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 o26-20020ac5c8ba000000b004d40a723fe2sm312900vkl.39 - gsmtp')





작성한 코드 및 에러 메세지

SMTPAuthenticationError                   Traceback (most recent call last)
<ipython-input-23-739cc92da451> in <cell line: 64>()
     63 
     64 while True:
---> 65     schedule.run_pending()
     66     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 o26-20020ac5c8ba000000b004d40a723fe2sm312900vkl.39 - gsmtp')


오류 발생 시, 작성한 코드 전체와 에러 메시지를 첨부해 주세요.

Tip 1) </> 아이콘을 눌러 코드박스를 만들어 보세요.

Tip 2) Ctrl+A(맥의 경우 Command+A) 단축키로 코드를 한 번에 선택할 수 있어요!




취소
 공유
취소
댓글 0
댓글 알림
나의얼굴