Re: Bug #12335 Updated: mail() function returns false but the email was sent.
| From: | Andy | Date: | Tue, 24 Jul 2001 21:43:43 +0000 |
| Subject: | Re: Bug #12335 Updated: mail() function returns false but the email was sent. | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-60908@lists.php.net to get a copy of this message | ||
Thank you for testing this.
On Tue, 24 Jul 2001, Brian Foddy wrote:
> I tried on our 2.6 system and the script returned
> Successfully sent the email "PHP test mail()
>
> message was properly sent.
>
>
> andy@php.net wrote:
> >
> > ID: 12335
> > Updated by: andy
> > Reported By: sascha.winkler@ks.sel.alcatel.de
> > Status: Open
> > Bug Type: Mail related
> > Operating System: Sun Solaris 2.6
> > PHP Version: 4.0.6
> > New Comment:
> >
> > works fine on RH Linux 7. Can anybody with Solaris reproduce this?
> >
> > Previous Comments:
> > ------------------------------------------------------------------------
> >
> > [2001-07-24 08:03:30] sascha.winkler@ks.sel.alcatel.de
> >
> > I had first the bug with id 12024 and I have fixed it like described in the bug report.
> > Now I can send mails, but the mail() function returns false altough the mail was sent.
> > I use the following script to test the mail() function.
> >
> >
> > <?php
> >
> > $mail_to = "sascha.winkler@t-online.de";
> > $mail_subject = "PHP test mail() gesendet obwohl failed gemeldet.";
> > $mail_body = " i hope that this mail() function works ! \n";
> > $mail_body .= " this is supposed to come on the second line \n";
> > $mail_body .= " and this on the third line \n";
> >
> > if (mail($mail_to, $mail_subject, $mail_body))
> > echo "Successfully sent the email \"$mail_subject\" to
> > $mail_to .";
> > else echo "Failed to send the e-mail \"$mail_subject\"." ;
> > ?>
> >
> > ------------------------------------------------------------------------
> >
> > Edit this bug report at
> > http://bugs.php.net/?id=12335&edit=1
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-dev-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net