Skip to content

Instantly share code, notes, and snippets.

View PinheiroCosta's full-sized avatar
Looking for group

Rom PinheiroCosta

Looking for group
View GitHub Profile
@PinheiroCosta
PinheiroCosta / markdown-to-email
Created March 28, 2021 17:18 — forked from cleverdevil/markdown-to-email
markdown-to-email A simple script to send beautifully formatted emails that you write in Markdown. The email will have an HTML payload and a plain-text alternative, so you'll make everyone happy, including yourself.
#!/usr/bin/env python
'''
Send an multipart email with HTML and plain text alternatives. The message
should be constructed as a plain-text file of the following format:
From: Your Name <[email protected]>
To: Recipient One <[email protected]>
Subject: Your subject line
---