Thanks everyone for the good responses. I'm learning alot just reading through! ~marie
Marie Monday wrote: > I'm a PHP newbie and have just installed php4.2.3 on WinNT 4.0 w/ IIS4.0 > > Already have set the SMTP and sendmail_from in php.ini. > 1). Mail function sends mail, except that none of the html form > variables are parsed into the email body $message. > The script works fine run from another hosted (apache) webserver. Is it > > a config or script issue? > 2). Received email message does not include the sender's email address > from $txtemail form variable. > Instead, it places their email address from the form in the message body > first line. > It is using the php.ini sendmail_from address. > > <?php > { > $recipient="[EMAIL PROTECTED]"; > $subject="Need Help"; > $message="$txtname submitted a helpdesk request by web form. > A computer tech needs to contact $txtname shortly at $txtphone or by > email at $txtemail regarding $txtproblem"; > $sender=$txtemail; > mail(trim($recipient), trim($subject), $message, trim($sender)); > } > ?> > > TIA, > ~marie -- ************************************************************************** E-mail correspondence to and from this address may be subject to the North Carolina Public Records Law and may be disclosed to third parties. **************************************************************************
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php