Re: Server error when executing mail() function
| From: | Paul Cuthbertson | Date: | Tue, 28 May 2002 15:48:37 +0000 |
| Subject: | Re: Server error when executing mail() function | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99499@lists.php.net to get a copy of this message | ||
Firstly, thank you for the continued help. Unfortunately I just tried this:
<? mail ("paul.cuthbertson@zoom.co.uk", "Test", "Testing"); ?>
..and the error still occurred. The error appears immediately, as if it's
not even trying to connect to anything.
Paul.
----- Original Message -----
From: "Tyler Longren" <tyler@captainjack.com>
To: "Paul Cuthbertson" <paul.cuthbertson@zoom.co.uk>;
<php-general@lists.php.net>
Sent: 28 May 2002 16:34
Subject: Re: [PHP] Server error when executing mail() function
> Try this thread on phpbuilder.com:
>
> http://www.phpbuilder.com/forum/read.php3?num=4&id=6681&loc=0&thread=6681
>
> One person suggests using fewer headers as windows can be picky about
which
> headers you're trying to send with your e-mail.
>
> Good luck,
> Tyler Longren
> Captain Jack Communications
> www.captainjack.com
> tyler@captainjack.com
>
> ----- Original Message -----
> From: Paul Cuthbertson
> To: php-general@lists.php.net ; Tyler Longren
> Sent: Tuesday, May 28, 2002 10:27 AM
> Subject: Re: [PHP] Server error when executing mail() function
>
>
> I'm afraid all I get is:
>
> Warning: Server Error in d:\htdocs\scriptname.php on line 19
>
> Line 19 being the mail() command. The script works fine on a different
> server. Any Ideas?
>
> Paul.
>
>
> ----- Original Message -----
> From: "Tyler Longren" <tyler@captainjack.com>
> To: "Paul Cuthbertson" <paul.cuthbertson@zoom.co.uk>;
> <php-general@lists.php.net>
> Sent: 28 May 2002 16:14
> Subject: Re: [PHP] Server error when executing mail() function
>
>
> > Is 'Server Error' all you get?
> > If there's more, please post the whole error message. ;-)
> >
> > thanks!
> > tyler
> >
> > ----- Original Message -----
> > From: "Paul Cuthbertson" <paul.cuthbertson@zoom.co.uk>
> > To: <php-general@lists.php.net>
> > Sent: Tuesday, May 28, 2002 9:06 AM
> > Subject: [PHP] Server error when executing mail() function
> >
> >
> > Hi,
> >
> > I keep getting a 'Server Error' when executing the mail() function. I
> > thought the problem was the SMTP server in php.ini, so I've tried
several
> > alternatives (including my Outlook smtp and free smtp servers). I'm
> starting
> > to think that it's not that that's causing the problem. Is there
anything
> > else that can cause the same error?
> >
> > Info:
> > OS: Win98
> > PHP Version: 4.1.2
> > Web Server: Apache/1.3.6 (Win32)
> > Browser: MSIE 6.0
> >
> > Regards,
> >
> > Paul Cuthbertson.
> >
> >
> >
>
>