I'd start by making sure no redirects happen before the email is sent and then I'd check the TO and FROM address. If they all look ok then I'd probably do a simple email send to see if SMTP is configured properly in general and make sure your web server can send emails at all.