Re: mail() on windows - problem
| From: | Christoph Grottolo | Date: | Thu, 14 Feb 2002 07:38:12 +0000 |
| Subject: | Re: mail() on windows - problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12074@lists.php.net to get a copy of this message | ||
Hi
Maybe you should test your php-installation by running a script containing
only
<?php phpinfo(); ?>
In the output you'll see if your php.ini file is parsed correctly. Watch out
for php.ini location an the SMTP value.
Christoph
"George Pitcher" <fmdev@yahoo.co.uk> schrieb im Newsbeitrag
news:008201c1b470$41373b00$630db092@HLATITUDE...
| Hi all,
|
| Doing a little testing in advance of doing the scripting next week, I
| thought I'd try the mail() function.
|
| In php.ini, I have filled in the details of my SMTP server (University
| service) and the return address and I can't see anything else to
configure.
|
| A simple script, called as a web page, contains the following script:
|
| <?php
| mail("gep1@stir.ac","Mailtest from php","message");
| ?>
|
| and when I run this, I get an 'unknown' error and i [fairly obviously]
don't
| get the email it should be sending.
|
| Is there something else to configure?
|
| I know that the smtp part is correct as I am mailing that way using both
| Lasso (NT) and Frontier (Mac) with no problems.
|
| HYCH,
|
| George in Edinburgh
|