Sure, write a shellscript that does so.
#!/bin/sh sendmail -i "silicomancer@example.com" <<EOF Date: ... From: ... To: ... Subject: ... Content-Type: text/plain; charset=utf-8 Yo, stuff happened ($*). EOF
Though it might be better to use mail
(aka Mail or mailx or s-nail) than hand-craft all the headers.