How we can send mail with attachment in Python?

Robert Davis rdavis7408 at gmail.com
Thu Jul 23 18:37:36 CEST 2015


On Monday, July 20, 2015 at 12:01:49 AM UTC-5, Chris Angelico wrote:
> On Mon, Jul 20, 2015 at 2:54 PM, Kevin Peterson <qh.resu01 at gmail.com> wrote:
> > How we can send mail with attachment in Python? Is it any prerequisite for it?
> 
> You could use your favourite search engine to look this up. Or you
> could poke around with the Python standard library and see if anything
> looks promising:
> 
> https://docs.python.org/3/library/
> 
> Hint: There is something there.
> 
> ChrisA

Take a look at an article written by Ashish Jain at the following link:

http://ashishpython.blogspot.com/2014/06/send-email-with-outlook-in-python.html

I use something very similar to automate sending of monthly reports.

HTH

Robert


More information about the Python-list mailing list