def __init__(self, str_host, num_port):
    '호스트와 포트번호로 SMTP로 연결한다 '
    self.str_host = str_host
    self.num_port = num_port
    self.smtp_connect = smtplib.SMTP(host=str_host, port=num_port)
    self.smtp_connect.starttls()
    self.smtp_connect.login(EMAIL_ADDRESS, EMAIL_PASSWORD)
호스트와 포트번호로 SMTP로 연결한다
def __init__(self, str_host, num_port):
    ' '
    self.str_host = str_host
    self.num_port = num_port
    self.smtp_connect = smtplib.SMTP(host=str_host, port=num_port)
    self.smtp_connect.starttls()
    self.smtp_connect.login(EMAIL_ADDRESS, EMAIL_PASSWORD)