Im having problems in the last couple of days with sending mail with the php mail() function, it worked before and I really dont know what made it diffrently.
What makes you think, that it's not working? If you see any error when running PHP script, please post here its full text. If emails fail to get delivered, post here logs regarding the issue from /var/log/exim/mainlog