Php is running on II6, so I have to have the mail options set in php.ini....
I have several different pages (actually different websites) that are hosted on the same server. Obviously I don't want a mail function from website B to use domain A's sendmail_from setting in php.ini.
I looked at ini_set, but it doesn't allow you to change sendmail_from in the ini (at least it's not on the list of available options in the appendix listing for ini_set).
If I leave sendmail_from commented out in the php.ini, it just won't send the mail, even if I set a from address in the options of the mail() function.
Is there anyway to code a page so that it ignores or changes what is in the php.ini file and follows it's own "from" directives?