On Sun, 2007-06-17 at 12:56 +0100, Stut wrote:
> tedd wrote:
> >
> > $headers ='From: "Larry, Curly and Moe"<[EMAIL PROTECTED]>')>\n";
> > $headers .= 'Reply-to: "Moe"<[EMAIL PROTECTED]>' >\n";
>
> Strictly speaking, those line endings should be \r\n.
While I agree with you that it "should" be \
tedd wrote:
>> The last paragraph of the page
>>
>> Go figure!
>>
>> The appropriate code is;
>>
>> mail ($to, $subject, $message, $header = 'From: "Larry, Curly and Moe"
>> <[EMAIL PROTECTED]>');
>
> Brad:
>
> Don't forget to add the content.
>
> mail($to, $subject, $headers, $body);
Headers a
The last paragraph of the page
Go figure!
The appropriate code is;
mail ($to, $subject, $message, $header = 'From: "Larry, Curly and Moe"
<[EMAIL PROTECTED]>');
Brad:
Don't forget to add the content.
mail($to, $subject, $headers, $body);
And you can also add "Reply-to: "
Such as:
$header
be included. It sets
the envelope sender which is the address the email will get bounced to
if necessary.
-Stut
> -Original Message-
> From: BSumrall [mailto:[EMAIL PROTECTED]
> Sent: Sunday, June 17, 2007 12:39 AM
> To: php-general@lists.php.net
> Subject: RE: [PHP] I ha
gt; PS
> mail ($to, $subject, $message, $header, '-f
> [EMAIL PROTECTED]');
>
> doesn't work either.
>
> Still have nobody to deal with.
> As per being RFC compliant!
>
> -Original Message-
> From: Stut [mailto:[EMAIL PROTECTED]
> Sent:
7 12:39 AM
To: php-general@lists.php.net
Subject: RE: [PHP] I have a problem with nobody!
Let's take it one step further for arguments sake.
What is I wanted to change "nobody" as the sender to, let's just say Larry
or Curly, or Moe?
Making message header as;
Larry Shmuckatelli [
PROTECTED]
What is the php driving force that controls the "who sent me" function?
-Original Message-
From: BSumrall [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 17, 2007 12:31 AM
To: php-general@lists.php.net
Subject: RE: [PHP] I have a problem with nobody!
Well, I am now 1 st
]
Using:
mail ($to, $subject, $message, $header,
'[EMAIL PROTECTED]');
-Original Message-
From: BSumrall [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 17, 2007 12:19 AM
To: 'Stut'
Cc: php-general@lists.php.net
Subject: RE: [PHP] I have a problem with nobody!
PS
mai
l@lists.php.net
Subject: Re: [PHP] I have a problem with nobody!
BSumrall wrote:
> I have read about a -f function.
> I tried
> mail ($to, $subject, $message, -f$header);
> mail -f($to, $subject, $message, $header);
>
> both result in parse error.
Boy did you not read the d
BSumrall wrote:
> I have read about a -f function.
> I tried
> mail ($to, $subject, $message, -f$header);
> mail -f($to, $subject, $message, $header);
>
> both result in parse error.
Boy did you not read the documentation carefully!
mail($to, $subject, $message, $headers, '[EMAIL PROTECTED]');
I have been googling this to death and have many references to this, but all
solutions seem to either
1 not apply
2 result in parse error
The code:
mail ($to, $subject, $message, $header);
The error
Email is sent to recipient as [EMAIL PROTECTED] (fqdn = fully qualified
domain name)
I have rea
11 matches
Mail list logo