V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
meloncrashed
V2EX  ›  Python

请问 python 在 windows 与 ubuntu 下 使用 smtplib 如何发送正文就是 excel 表格,以及附件也是 excel 表格的邮件?

  •  
  •   meloncrashed · 2015-11-15 16:23:43 +08:00 · 2612 次点击
    这是一个创建于 3095 天前的主题,其中的信息可能已经有所发展或是发生改变。
    windows 下登录网页版的邮箱,直接可以复制 excel 中内容到邮件正文里面。
    1 smtplib 下如何实现?
    2 附件是 excel 表格如何实现?
    3 windows 与 ubuntu 的实现与区别嘛?
    谢谢
    2 条回复    2015-11-16 10:53:10 +08:00
    lxy42
        1
    lxy42  
       2015-11-15 17:27:45 +08:00
    正文应该要用 html ,附件直接添加 excel
    meloncrashed
        2
    meloncrashed  
    OP
       2015-11-16 10:53:10 +08:00
    @lxy42 谢谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3717 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 10:39 · PVG 18:39 · LAX 03:39 · JFK 06:39
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.