View Full Version : send mail from shop
Eleanor
8th January 2007, 00:29
if ik send a mail from a form of a shop i get the adres "wwwrun@linux.blabla"
how and where can i change this
please help me
jnsc
8th January 2007, 01:10
If your shop is in PHP you can change this in the header of the mail command.
http://ch2.php.net/manual/en/function.mail.php
But usually webshops have configuration options for this.
Eleanor
8th January 2007, 01:16
If your shop is in PHP you can change this in the header of the mail command.
http://ch2.php.net/manual/en/function.mail.php
But usually webshops have configuration options for this.
i have it with more scripts
can i change it in my system ?
till
8th January 2007, 02:03
i have it with more scripts
can i change it in my system ?
Then the scripts are badly programmed and you should enhance them as jnsc pointed out. The from header should always be set by the php script, if you use some of the larger open source projects, you can set the from header in most cases in the configuration.
Eleanor
11th January 2007, 18:05
but if i use it on phpdev on my local machine then its working greet.
till
11th January 2007, 18:18
Is your local machine a libnux server and did you specify a sender address in in form of a mail header in the PHP mail command?
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.