#!/bin/sh # APPEND example from RFC9051 nc localhost 4567 < Subject: afternoon meeting To: mooch@example.com Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Hello Joe, do you think we can meet at 3:30 tomorrow? D NOOP E LOGOUT EOF echo "^ expected output: responses to A B C D and E, last one is E OK LOGOUT completed"