#!/bin/bash
nc localhost 25 > /dev/null << EOL
EHLO barant.com
MAIL FROM:<brad.arant@barant.com>
RCPT TO:<barant@barant.com>
RCPT TO:<brad.arant@barant.com>
DATA
From: brad.arant@barant.com
To: barant@barant.com
Subject: This is a test

This is a test message.
This is just here for testing and not of much use.
Can it be that additional data helps the situation?
.
QUIT
EOL

