Skip to content

Instantly share code, notes, and snippets.


Abe.Chua jniva

  • Shanghai,China
View GitHub Profile
jniva /
Created Jul 3, 2012 — forked from yosemitebandit/
send PDF attachment with boto and SES
''' quick example showing how to attach a pdf to multipart messages
and then send them from SES via boto
from email.mime.text import MIMEText
from email.mime.application import MIMEApplication
from email.mime.multipart import MIMEMultipart
import boto