if your server is hosted on your box, You need to edit the php.ini file
— FIND —
SMTP =
— REPLACE —
SMTP = “your smtp server” (eg) mail.yourserver.com
— FIND —
sendmail_from =
— REPLACE —
sendmail_from = “Your email address” (eg) [email protected]
This worked for me
enviorment
Apache2
php4.X.X
mysql