<?php
if (mail($_GET["to"], $_GET["subject"], $_GET["body"], "FROM: " . $_GET["from"])) {
echo "Message sent!";
} else {
echo "Message sending failed.";
}
?>
www.yourhost.com/[email protected]&[email protected]&subject=This is a test&body=This is the email body.
not necessarilyif you do spoof the from email id you would end up in spam so whats the point?!?!