facing problem when trying to send an email using python
- by vishnu
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