Traceback (most recent call last):

  File "C:\Python34\Lib\smtplib.py", line 994, in <module>

    server = SMTP('localhost')

  File "C:\Python34\Lib\smtplib.py", line 242, in __init__

    (code, msg) = self.connect(host, port)

  File "C:\Python34\Lib\smtplib.py", line 321, in connect

    self.sock = self._get_socket(host, port, self.timeout)

  File "C:\Python34\Lib\smtplib.py", line 292, in _get_socket

    self.source_address)

  File "C:\Python34\Lib\socket.py", line 512, in create_connection

    raise err

  File "C:\Python34\Lib\socket.py", line 503, in create_connection

    sock.connect(sa)

ConnectionRefusedError: [WinError 10061] 대상 컴퓨터에서 연결을 거부했으므로 연결하지 못했습니다]



Traceback (most recent call last):

  File "<pyshell#6>", line 1, in <module>

    mail.login('gmail id','password')

  File "C:\Python34\lib\smtplib.py", line 652, in login

    raise SMTPAuthenticati(code, resp)



이 두개가 번갈아가면서 뜨냐...


하 종나...책찾아봐도 안되고


구글링해도 안되고..


3시간째 별의 별 방법을 다하는데 안돼...