Re: Sendmail User ID

From: Date: Thu, 18 Jan 2001 17:20:32 +0000
Subject: Re: Sendmail User ID
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-35391@lists.php.net to get a copy of this message
$mailsent = mail("to@domain.net", "Subject", $mesg, "From: from@domain.net\n") Try this, Julia Quoting Yurais Fernandez Leal (yurais@medired.scu.sld.cu): > > Hi > > I have a web site that sends virtual greetings cards > > But the mails are been sent as nobody@webserver > > nobody is the user that runs the web server. > > Should I run the web server as a different user so that the mails get > sent as this user instead of nobody ? > > > I've play with the headers in the mail() function with no success. > > Any idea ? > > > -- > ------------------------------------------------ > Yurais Fernández Leal, Systems Administrator > Public Health Network Santiago de Cuba > yurais@medired.scu.sld.cu > http://www.scu.sld.cu/ > Phone: (53) 226-54204 > (home) (53) 226-51556 > FAX: (53) 226-54204 > ICQ: 33792610 > ------------ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- [ Julia Anne Case ] [ Ships are safe inside the harbor, ] [Programmer at large] [ but is that what ships are really for. ] [ Admining Linux ] [ To thine own self be true. ] [ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]

« previous php.general (#35391) next »