yep, you were right...in the php.ini file, sendmail -t was not entered.....but now I changed that, but it still doesn't work, should I restart php or something? like apache?
Yes, you must restart Apache to read the changes to your config file..