iSendMail(1)

iSendMail is about the simplest use of Message.framework which exercises the functionality. It's a quick way to send an email from the command-line using the account settings defined in Mail.app, but its other purpose is to demonstrate the framework in use. On my blogspot blog I described how iSendMail does its thing. The iSendMail source and UNIX manual page are available.