Skip to content

A simple bash script for making multipart templated emails from 1 markdown file

License

Notifications You must be signed in to change notification settings

TinkerSoc/EmailTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Email tool for TinkerSoc

Template

{{markdown}} is replaced with the plaintext version of the markdown, this is for the text-only part of the email (eg for command line email users).

{{html}} is replaced with the HTML generated from the markdown, for rich emails.

Dependencies

  1. pandoc
  2. mailx

Usage

./emailMarkdown.sh <markdown> <template> | mailx -s "SUBJECT" -a \
    "Content-Type: multipart/alternative; boundary=mimeboundary" [email protected]

About

A simple bash script for making multipart templated emails from 1 markdown file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages