V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · Nov 15, 2015 · 3243 views
    This topic created in 3828 days ago, the information mentioned may be changed or developed.
    windows 下登录网页版的邮箱,直接可以复制 excel 中内容到邮件正文里面。
    1 smtplib 下如何实现?
    2 附件是 excel 表格如何实现?
    3 windows 与 ubuntu 的实现与区别嘛?
    谢谢
    2 replies    2015-11-16 10:53:10 +08:00
    lxy42
        1
    lxy42  
       Nov 15, 2015
    正文应该要用 html ,附件直接添加 excel
    meloncrashed
        2
    meloncrashed  
    OP
       Nov 16, 2015
    @lxy42 谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   910 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 21:30 · PVG 05:30 · LAX 14:30 · JFK 17:30
    ♥ Do have faith in what you're doing.