Emailing the attachment created with the Quick Screenshots Script (Python + PIL)

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri Sep 28 06:02:15 CEST 2007


En Thu, 27 Sep 2007 10:37:05 -0300, Mark Bratcher  
<mbratcher at cclpcitrus.com> escribi�:

> The Quick Screenshots Script (Python + PIL) is a "dream come true", and  
> yet
> so simple to use reliably.  Does anyone have a suggestion or know how to
> include in the script, the ability to email the attachment?  This would  
> make
> the dream perfect!  Thanks!

See the second example from the email package; it creates a MIME message  
with an attachment and sends it using SMTP.
<http://docs.python.org/lib/node162.html>

-- 
Gabriel Genellina




More information about the Python-list mailing list