Skip to content

Instantly share code, notes, and snippets.

Brian jostster

Block or report user

Report or block jostster

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jostster /
Created Apr 29, 2016 — forked from thinrhino/
Send mails using Mandrill API
from mandrill import Mandrill
import base64
mail_client = Mandrill('<api_key>')
frm_email = ''
frm_name = 'Given Name'
# Sending image as attachment
img_attachment = base64.b64encode(open('~/sample_image.jpg', 'rb').read())
You can’t perform that action at this time.