in reply to sending E-Mail via CGI

Have a look at the NMS Formmail Script.