Ask a Question related to PHP Development, Design and Development.
-
Gerhard Buergmann #1
mail() returns FALSE, no err msg
Sometimes my mail() function returns FALSE, but there is no error message.
Error reporting is set to E_ALL.
It seems to be a problem of the bcc: line.
I use:
$headers .= "Bcc: [email]aaaa@aaa.aa,bbbb@bbb.bb,cccc@ccc.cc[/email]\n";
I currently have approx. 30 addresses in the line.
Are there any limits?
And how can I get an error message?
Thanks,
Gerhard
--
[url]http://www.meta-chrom.com/[/url]
Gerhard Buergmann Guest
-
#40234 [NEW]: gethostbynamel always returns false when using PHP as CGI
From: silverbanana at gmx dot de Operating system: Windows XP SP2 PHP version: 6CVS-2007-01-25 (snap) PHP Bug Type: Network... -
#39281 [NEW]: glob() returns false
From: johan dot ekman1 at comhem dot se Operating system: windows xp, apache PHP version: 5.1.6 PHP Bug Type: ... -
#12335 [Com]: mail() function returns false but the email was sent.
ID: 12335 Comment by: liliana at civc dot inf dot cu Reported By: sascha dot winkler at ks dot sel dot alcatel dot de... -
mail() function returns FALSE
Hi All, I'm having trouble getting sendmail to behave with the php mail() function. The function is returning FALSE. Today it doesn't seem to want... -
#24627 [NEW]: feof always returns false
From: duerra at yahoo dot com Operating system: XP Pro PHP version: 4.3.3RC1 PHP Bug Type: Filesystem function related Bug... -
Gerhard Buergmann #2
mail() returns FALSE, no err msg
Sometimes my mail() function returns FALSE, but there is no error message.
Error reporting is set to E_ALL.
It seems to be a problem of the bcc: line.
I use:
$headers .= "Bcc: [email]aaaa@aaa.aa,bbbb@bbb.bb,cccc@ccc.cc[/email]\n";
I currently have approx. 30 addresses in the line.
Are there any limits?
And how can I get an error message?
Thanks,
Gerhard
--
[url]http://www.meta-chrom.com/[/url]
Gerhard Buergmann Guest
-
Luke Ross #3
Re: mail() returns FALSE, no err msg
Hi,
Gerhard Buergmann wrote:Does it work if you use \r\n instead? Some mailers might be more picky> Sometimes my mail() function returns FALSE, but there is no error message.
> Error reporting is set to E_ALL.
>
> It seems to be a problem of the bcc: line.
> I use:
>
> $headers .= "Bcc: [email]aaaa@aaa.aa,bbbb@bbb.bb,cccc@ccc.cc[/email]\n";
>
> I currently have approx. 30 addresses in the line.
> Are there any limits?
> And how can I get an error message?
about line endings.
Just a thought.
Luke
Luke Ross Guest
-
Gerhard Buergmann #4
Re: mail() returns FALSE, no err msg
Luke Ross wrote:
It works with one, two, maybe tree adresses, but not with 10 or 20.> Hi,
>
> Gerhard Buergmann wrote:
>>>> Sometimes my mail() function returns FALSE, but there is no error
>> message.
>> Error reporting is set to E_ALL.
>>
>> It seems to be a problem of the bcc: line.
>> I use:
>>
>> $headers .= "Bcc: [email]aaaa@aaa.aa,bbbb@bbb.bb,cccc@ccc.cc[/email]\n";
>>
>> I currently have approx. 30 addresses in the line.
>> Are there any limits?
>> And how can I get an error message?
>
> Does it work if you use \r\n instead? Some mailers might be more picky
> about line endings.
>
Since there is no error message, I cannot locate the problem.
Regards,
Gerhard
--
[url]http://www.meta-chrom.com/[/url]
Gerhard Buergmann Guest
-
Vijay #5
Re: mail() returns FALSE, no err msg
Number of CC in the header is limitation of SMTP server .No error msg is returned
Gerhard Buergmann <gerhard.buergmann@puon.at> wrote in message news:<3f65a287$0$265$4d4ebb8e@read-nat.news.nl.uu.net>...> Luke Ross wrote:>> > Hi,
> >
> > Gerhard Buergmann wrote:
> >> >> >> Sometimes my mail() function returns FALSE, but there is no error
> >> message.
> >> Error reporting is set to E_ALL.
> >>
> >> It seems to be a problem of the bcc: line.
> >> I use:
> >>
> >> $headers .= "Bcc: [email]aaaa@aaa.aa,bbbb@bbb.bb,cccc@ccc.cc[/email]\n";
> >>
> >> I currently have approx. 30 addresses in the line.
> >> Are there any limits?
> >> And how can I get an error message?
> >
> > Does it work if you use \r\n instead? Some mailers might be more picky
> > about line endings.
> >
> It works with one, two, maybe tree adresses, but not with 10 or 20.
> Since there is no error message, I cannot locate the problem.
>
> Regards,
> GerhardVijay Guest



Reply With Quote

