Skip to main content

Sendmail Sample Usage

mail.txt:

MIME-Version: 1.0 
Content-Type: text/html
From: newsletter@shopbah.com
Subject: TESTING 123 hehehe

<html><head><title>TESTING ONLY BAH</title></head>
<body>
<strong>Content line</strong> 1
<strong>Content line</strong> 2
<strong>Content line</strong> 3
</body></html> 

* sendmail address@example.com < mail.txt