#email2.py

#!/usr/bin/python
import smtplib
from_mail='<EMAIL>'
to_mail='<EMAIL>'
server=smtplib.SMTP('smtp.163.com')
server.docmd('ehlo','<EMAIL>')
server.login('<EMAIL>63','zbm510319')
msg='''from:zeng<EMAIL>ing999@163
to:520140341@qq
subject:I am guol
I'm come 153
.
'''
server.sendmail(from_mail,to_mail,msg)
server.quit()
#email2.py

#!/usr/bin/python
import smtplib
from_mail='<EMAIL>'
to_mail='<EMAIL>'
server=smtplib.SMTP('smtp.163.com')
server.docmd('ehlo','<EMAIL>')
server.login('<EMAIL>63','zbm510319')
msg='''from:zeng<EMAIL>ing999@163
to:520140341@qq
subject:I am guol
I'm come 153
.
'''
server.sendmail(from_mail,to_mail,msg)
server.quit()
#email2.py #!/usr/bin/python from:zeng<EMAIL>ing999@163 to:520140341@qq subject:I am guol I'm come 153 .