Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2001 02:21:07 -0400
From:      "William Wong" <willwong@samurai.com>
To:        "Jason" <jason@borderpatrolclan.net>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: sendimg mail using PHP from apache
Message-ID:  <001d01c109d1$ac15a8c0$0300a8c0@anime.ca>
References:  <001b01c109d2$41814ea0$450a6441@Hunter>

next in thread | previous in thread | raw e-mail | index | archive | help
Your php code should call the mail fnc as follows:

mail($to, $subj, $mesg, $from)

I don't think it's a problem with apache.  Look at your php code.

- Will

----- Original Message -----
From: "Jason" <jason@borderpatrolclan.net>
To: <freebsd-questions@FreeBSD.ORG>
Sent: Wednesday, July 11, 2001 2:25 AM
Subject: sendimg mail using PHP from apache


I'm trying to send mail using a PHP script, with PHP running on a
FreeBSD/Apache server. I can send mail successfully, but the user shows up
as "Unprivileged user." The PHP script uses a from address, but it is not
used when the message is sent. Can I change Apache to get this to work, or
do I have to do something with the PHP script? Any suggestions would be
nice, and hopefully my problem is clear.

Thanks,
Jason



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001d01c109d1$ac15a8c0$0300a8c0>