I am having difficulty in getting php mail() to work. I have spoken to the guys at my isp/host, and they have not played with the php mail function and can not help. He did say however, that he thought that you do need to have it send that mail through
smtp.americanisp.net because the web server does not relay mail by default, and that he set-up php to use smtp.
I have been trying to use:
mail("jbushell@uswest.net", "Test", "Test2");
the code runs, but I never receive an email
the isp runs on linux, apache, and php4.
Does anyone have any idea what I am doing wrong, or what code I need to add to make it work with the smtp?
Thanks