Javier Crespo wrote:
> > if you omit the 4th argument, it's your MAIL TRANSFER AGENT (i.e.
> > qmail, sendmail, exim, ...) which puts in the [EMAIL PROTECTED] and
> > not PHP. have a look at your MTA's manual for this problem.
>
> I know, And that's my problem. All mail is sent by nobody (this is
>> I don't understand this. I can set headers in fourth argument to mail
>> function so I can send
>> mail("[EMAIL PROTECTED]","Hello","msgbody","From:spammer")
>> If user does not set 4th argumment mail is sent with from
>> [EMAIL PROTECTED]
>
> if you omit the 4th argument, it's your MAIL TRAN
Hello,
mail has a 5th param, that one works, like:
mail ("[EMAIL PROTECTED]", "Subject", "Body", "From: [EMAIL PROTECTED]",
"[EMAIL PROTECTED]");
will make the mail come from [EMAIL PROTECTED]
Derick
On Fri, 14 Dec 2001, Sander Roobol wrote:
> > > The "from" in your mail header therefore com
hi,
> I don't understand this. I can set headers in fourth argument to mail
> function so I can send
> mail("[EMAIL PROTECTED]","Hello","msgbody","From:spammer")
> If user does not set 4th argumment mail is sent with from [EMAIL PROTECTED]
if you omit the 4th argument, it's your MAIL TRANSFER AG
> > The "from" in your mail header therefore comes from your mail transfer
> > agent and has little to do with PHP. therefore you have to look for
> > this problem there.
>
> I don't understand this. I can set headers in fourth argument to mail
> function so I can send
> mail("[EMAIL PROTECTED]","
Daniel Lorch wrote:
> on un*x, PHP passes your mails directly to sendmail/qmail/exim or whatever
> mail software is running on your machine. if you're using windows, PHP
> uses it's own SMTP function instead. that's the difference.
>
> The "from" in your mail header therefore comes from your mai
hi,
> I would like to include sendmail_from directive in the apache's virtual
> server configuration in order to fix the from field in mail sent by our
> sendmail server via php and perharps to trace in system logs.
this directive doesn't isn't meant do be doing that. it's only for
error message
Hi All:
We are serving some virtual domains at dsland.org and found with a problem
concerning the limitation of to prevent/track mail sent by our users.
I would like to include sendmail_from directive in the apache's virtual
server configuration in order to fix the from field in mail sent by o