> Are you using this in a *nix environment? You may have better luck using > popen() to connect to sendmail if you are. Sometimes Unix, but not always. Also, PHP may be in safe mode.