Re: [PHP-DOC] mail() additional header documentation

2004-11-27 Thread Jakub Vrana
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

[PHP-DOC] mail() additional header documentation

2004-11-17 Thread Colin Brown
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

[PHP-DOC] mail() in windows + php4.3

2004-02-24 Thread KK Kong
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

Re: [PHP-DOC] mail function

2003-08-04 Thread Gabor Hojtsy
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

[PHP-DOC] mail function

2003-08-03 Thread aculott
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

RE: [PHP-DOC] mail() example wrong

2003-07-17 Thread Sebastian Picklum
> 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]>"; > ^^^

[PHP-DOC] mail() example wrong

2003-07-17 Thread Bernhard Kuemel
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

Re: [PHP-DOC] Mail();

2003-06-03 Thread Sara Golemon
> > 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()); > > > > ---

Re: [PHP-DOC] Mail();

2003-06-02 Thread Derick Rethans
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/" .

[PHP-DOC] Mail();

2003-06-02 Thread Zbynek Vyboh
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