Mail Send(ft. Sent Folder Save)
# Script/Python2024. 4. 4. 17:28Mail Send(ft. Sent Folder Save)

import smtplib import imaplib import email import time from email.utils import make_msgid from email.mime.text import MIMEText # SMTP 서버 설정 smtp_server = 'SMTP서버' smtp_port = 465 smtp_username = '사용자ID' smtp_password = '비밀번호' # IMAP 서버 설정 imap_server = 'IMAP서버' imap_port = 993 imap_username = '사용자ID' imap_password = '비밀번호' # 이메일 발신자, 수신자, 제목 및 내용 설정 from_email = '발신자 메일주소' to_email = '수신자 메일주소' ..

image