#!/bin/bash recipient=”test@example.com” subject=”Hello” message=”This is a test,” `mail -s $subject $recipient <<< $message`