Results 1 to 2 of 2
Hello,
I am ltrying to find the config file to modify a parameter for apache (I guess). Here, when sending mail using php web form I get a copy of ...
- 03-01-2005 #1Just Joined!
- Join Date
- Jan 2005
- Location
- Canada
- Posts
- 10
apache@localhost.localdomain
Hello,
I am ltrying to find the config file to modify a parameter for apache (I guess). Here, when sending mail using php web form I get a copy of all mail sent from that form, but here is a sample of what I get :
From : apache@localhost.localdomain
To : myemail@host.com
Subject : Mail
Date : Mon, 28 feb 2005
Message ...
How can I configure apache to use my own email, so user will get my mail instead of apache@localhost.localdomain.
I know there is a way to do it using some option in my php form, but looking for the best and definitive solution. My php form do not let me change any option so I am stuck.
Tkx
- 03-01-2005 #2Linux Enthusiast
- Join Date
- Feb 2005
- Location
- SE, Stockholm
- Posts
- 512
I take it that you do have access to the PHP code(?)
If so, check for the PHP command
mail(xxxxxxxx);
This should be formed something like this:
Taken that you have variables sent from your PHP form.Code:mail($to,$subject,$bodyTxt,$from);
Don't know however if there is a global parameter for this, but this is hw I usually solve this problem


Reply With Quote