this is like telnetting to port 25 and sending an e-mail manually.
--------------cut-------------
<?php
$mbox=fsockopen("whatever.com", 25);
fputs($mbox,"HELO whatever.com\r\n");
echo fgets($mbox,512)."<br>\n";
fputs($mbox,"MAIL FROM:".$from."\r\n");
echo fgets($mbox,512)."<br>\n";
fputs($mbox,"RCPT TO:".$to."\r\n");
echo fgets($mbox,512)."<br>\n";
fputs($mbox,"DATA\r\n");
echo fgets($mbox,512)."<br>\n";
fputs($mbox,"Subject:".$subject."\r\n");
echo fgets($mbox,512)."<br>\n";
fputs($mbox,$message."\r\n");
fputs($mbox,"\r\n.\r\n");
echo fgets($mbox,512)."<br>\n";
fputs($mbox,"QUIT\r\n");
fclose($mbox);
?>
--------------cut-------------
save that as a file, and set it as the form action [get || post] and make sure you have fields named to,from,subject,and message. works for me. good luck.
-noise