----- Original Message -----
From: "steve miller" <>
To: <[email protected]>
Sent: Thursday, October 27, 2005 6:19 PM
Subject: [wdvltalk] php mail()
> Hi all.
>
> Could use some help with php mail(). I am using this to send email,
and
> have having trouble getting the reply address right:
>
> $mailto="$userstuff[3]";
> $mailfrom="[EMAIL PROTECTED]";
> $mailsubject="A status change on one of your layouts";
> $mailbody="email stuff here";
>
> mail($mailto,$mailsubject,$mailbody,$mailfrom);
>
>
> When the email is received and viewed, the reply-to address is
> "[EMAIL PROTECTED]" instead of "[EMAIL PROTECTED]". Where is
> "[EMAIL PROTECTED]" coming from (a server setting?) and how do I
change
> it?
It comes from your php .ini (config) file that in your case probably
says under "apache':
User/Group nobody(99)/99 and under the PHP Core bit is:
sendmail_from - no value
What is probably happening is that you have no actual email address for
the user "do-not-reply" configured under the domain: "domain.com", so
php mail() is just using what is available instead, which is 'nobody'.
Most likely if you create a real email address for the script to
reference it will work, instead of messing with your php config. The
list tell you how to do that too if you feel brave, but you prolly
figured it out for yourself already :-)
<?php phpinfo(); ?>
and name the file phpinfo.php then ftp it over to your server to see
what you have running on your system to confirm.
hth!
cheers,
Mark
____ The WDVL Discussion List from WDVL.COM ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.