python smtp send mail
来源:互联网 发布:知乎 金庸 黄蓉 编辑:程序博客网 时间:2024/05/18 18:02
import smtplibimport base64from email.mime.text import MIMETextsender = 'wwwww6@163.com'mailto = '3331@qq.com'#邮件信息msg =MIMEText("It's a text email!")msg['Subject'] = 'Hello world'msg['to'] = mailtomsg['From'] = sender#连接发送服务器smtp = smtplib.SMTP('smtp.163.com')smtp.login('4446@163.com','444t')#发送smtp.sendmail(sender,mailto,msg.as_string())smtp.quit()print "send finished"
0 0
- python smtp send mail
- send mail by SMTP server (Python)
- Smtp Send mail
- python stmplib send mail
- python send mail
- A Client to Send SMTP Mail
- Fixed SMTP Mail Send Validation Error
- Send mail using Gmail SMTP in Magento
- bluemail-iOS使用SMTP发送邮件 send mail via SMTP at iOS
- 使用Python发送E-Mail (SMTP协议)
- 解决530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM
- send Mail
- Send mail
- Send mail
- SEND MAIL
- send mail
- send mail
- send mail
- Red编译器阅读笔记(2)
- hdu 3820 Golden Eggs(最小割,最大点权独立集+拆点)
- 找出字符串的最长不重复子串,输出长度
- 学院mysql服务器出现以下问题-access denied
- LeetCode—Binary Tree Postorder Traversal 解题报告
- python smtp send mail
- 傅里叶变换
- 利用eclipse远程调试模式搭建一个调试hadoop源码的环境
- uva 1450 - Airport(二分)
- 理工大学ACM平台题答案关于C语言 2175 买西瓜
- OOAD&UML note
- Hercules z/OS 1.9 Setup on Windows7(64bit)
- linux ehci ehci_urb_enqueue之qh_urb_transaction()分析(一)
- uva 471 - Magic Numbers(枚举技巧)