print "Content-type: text/html\n\n"; open(MAIL, "|/usr/sbin/sendmail -oi -t") or die print "Can't open sendmail: $!"; print MAIL "To: Recipient name \r\n"; print MAIL "From: Your name