facing problem when trying to send an email using python

Posted by vishnu on Stack Overflow See other posts from Stack Overflow or by vishnu
Published on 2010-06-09T08:02:27Z Indexed on 2010/06/09 8:52 UTC
Read the original article Hit count: 255

Filed under:

i wrote the code like this

import smtplib server=smtplib.SMTP('localhost')

then it raising an error like

error: [Errno 10061] No connection could be made because the target machine actively refused it

i am new to SMTP can you tell what exactly the problem is

© Stack Overflow or respective owner

Related posts about python