Re: [PHP] Sendmail and setting From
Greg - Many thanks! That is what I am doing now and I was hoping that I could do the same in Linux as I do with the NT server: have a default in a conf file. Todd -- Dr. Todd Cary Ariste Software 707-773-4523 [EMAIL PROTECTED] "It is a worthy thing to fight for one's freedom; it is another sight finer to fight for another man's" Mark Twain -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Sendmail and setting From
> On careful reading of the php.ini file, I now realize that the settings > for the "From" is for WIN32 *only*. So, as a newbie to the world or > Linux/Unix, I am not sure where I place the setting for the default > "From". I can add it as the fourth argument in the mail() function, but > I would prefer not to have to put it into every message. > > However, unless I do, my messages have "From: Apache". > > Hopefully, I am making some sense.. Construct a proper From: header, then pass it to the mail() function. Look at http://www.php.net/manual/en/function.mail.php Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Sendmail and setting From
Greg - On careful reading of the php.ini file, I now realize that the settings for the "From" is for WIN32 *only*. So, as a newbie to the world or Linux/Unix, I am not sure where I place the setting for the default "From". I can add it as the fourth argument in the mail() function, but I would prefer not to have to put it into every message. However, unless I do, my messages have "From: Apache". Hopefully, I am making some sense.. Todd -- Dr. Todd Cary Ariste Software 707-773-4523 [EMAIL PROTECTED] "It is a worthy thing to fight for one's freedom; it is another sight finer to fight for another man's" Mark Twain -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Sendmail and setting From
> I have RH 7.2 with Apache and PHP. The mail() function in PHP worked > out of the box!! Fantastic! The setting in the php.ini is being over > written with Apache. > > Where can I change the setting? What setting is being overwritten by apache? the mta setting? On my RH 7.2 box, my php.ini is in /etc. That's where you change the mta. Or do you mean the ServerAdmin email setting as defined in the httpd.conf? Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Sendmail and setting From
I have RH 7.2 with Apache and PHP. The mail() function in PHP worked out of the box!! Fantastic! The setting in the php.ini is being over written with Apache. Where can I change the setting? Many thanks... -- Dr. Todd Cary Ariste Software 707-773-4523 [EMAIL PROTECTED] "It is a worthy thing to fight for one's freedom; it is another sight finer to fight for another man's" Mark Twain -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php