I am in a process of moving to a new server. While testing some scripts i noticed that mail function does not appear to be working. I've checked phpinfo() on my new and old servers and it looks similar. How and where can i check if it is enabled?
You can try looking for the sendmail_path in the phpinfo() output to see if it contains a value. That may shed some light as to your situation. If you've moved to a windows server you may need to find a new way to mail. Perhaps they have some COM objects available for that. These are just some general things to look at as you've given sparse details as to your previous/new server configurations.
Noup, still Unix. I just tried to send a message from command line and got it.
compared old and new servers, look identical:
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
not sure what it was. I wrote test script and it worked...