Colin Brown wrote:
>> Note: You must use \r\n to separate headers, although some Unix
>> mail transfer agents may work with just a single newline (\n).
> In my experience this is wrong. In particular on hosts running Linux or
> BSD and Postfix (i.e. LOTS!!), using \r\n will cause mail headers t
Hi,
The documentation for the mail() function
(http://uk.php.net/manual/en/ref.mail.php) states:
If a fourth string argument is passed, this string is inserted at the
end of the header. This is typically used to add extra headers.
Multiple extra headers are separated with a carriage return and
I keep geting error message:
Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header
missing in D:\Inetpub\wwwroot\php\sendmail.php on line 11
php.ini:
sendmail_from = [EMAIL PROTECTED]
sendmail.php:
Can anyone help with this problem? thanks a lot!
KK Kong
Please ask support questions at [EMAIL PROTECTED]
Goba
it seems there is not much of a problem with the mail function, as there
is not a great deal of questions on it,,,however, hhaa, haa - I cant
seem top get it to work.
I changed two settings in php.ini
SMTP and sendmail_from
but, i get an er
it seems there is not much of a problem with the
mail function, as there is not a great deal of questions on it,,,however, hhaa,
haa - I cant seem top get it to work.
I changed two settings in php.ini
SMTP and sendmail_from
but, i get an error mesage, telling me "Warning: Failed to connect
to
> Hi phpdoc!
>
> I guess on
>
> http://www.php.net/manual/en/function.mail.php
>
> You should ...
>
> Example 4. Sending complex email.
>
> /* recipients */
> $to = "Mary <[EMAIL PROTECTED]>" . ", " ; // note the comma
> $to .= "Kelly <[EMAIL PROTECTED]>";
> ^^^
Hi phpdoc!
I guess on
http://www.php.net/manual/en/function.mail.php
You should ...
Example 4. Sending complex email.
" . ", " ; // note the comma
$to .= "Kelly <[EMAIL PROTECTED]>";
^^^ ^
remove the real names and angle brackets or state that this is a
wrong examp
> > Bug in: http://cz.php.net/manual/en/function.mail.php
> >
> > Example 2. Sending mail with extra headers.
> >
> > mail("[EMAIL PROTECTED]", "the subject", $message,
> > "From: [EMAIL PROTECTED]"
> > ."Reply-To: [EMAIL PROTECTED]"
> > ."X-Mailer: PHP/" . phpversion());
> >
> > ---
On Mon, 2 Jun 2003, Zbynek Vyboh wrote:
> Bug in: http://cz.php.net/manual/en/function.mail.php
>
> Example 2. Sending mail with extra headers.
>
> mail("[EMAIL PROTECTED]", "the subject", $message,
> "From: [EMAIL PROTECTED]"
> ."Reply-To: [EMAIL PROTECTED]"
> ."X-Mailer: PHP/" .
Bug in: http://cz.php.net/manual/en/function.mail.php
Example 2. Sending mail with extra headers.
mail("[EMAIL PROTECTED]", "the subject", $message,
"From: [EMAIL PROTECTED]"
."Reply-To: [EMAIL PROTECTED]"
."X-Mailer: PHP/" . phpversion());
---
That's not correct mail heade
10 matches
Mail list logo