September 1st, 2000, 01:44 AM
I get an "unknown error" when attempting to use the mail() function to send email in a PHP script of mine.
I'm guessing that this problem has something to do with the fact that my host is running NT with Exchange server. At this point I'm not sure that Exchange is actually up and running yet. If this is that case, merely getting exchange up and running may fix the problem. If that's not the case does anyone know what sort of finessing exchange needs for the mail() function to work properly?
I can't seem to find any literature on PHP and NT. Perhaps I just don't know enough about how NT works to get things straight in my head (e.g. what would the equivilant, on an NT machine, of popen("/usr/sbin/sendmail -t", "w") be? )
Also if anyone could point me to any text on how the mail() function works (such as, how it accomplishes sending the mail) I'd really appreciate it.