$mailsent = mail("[EMAIL PROTECTED]", "Subject",
$mesg, "From: [EMAIL PROTECTED]\n")
Try this,
Julia
Quoting Yurais Fernandez Leal ([EMAIL PROTECTED]):
>
> 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
> [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
[ 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. ]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]