Re: Problem with mail function
| From: | Carsten Gehling | Date: | Mon, 26 Mar 2001 09:35:09 +0000 |
| Subject: | Re: Problem with mail function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45593@lists.php.net to get a copy of this message | ||
From: "Sonya Davey / QDCEL" <SonyaD@PQAfrica.co.za>
Sent: Monday, March 26, 2001 10:55 AM
> 1.What must I configure thse settings in my php.ini file to?
> SMTP = localhost
> sendmail_from = me@localhost.com
SMTP must be set to the address of a SMTP-server (Simple Mail Transfer
Protocol) - that is a server through which you can send mail. If this
Windows98 machine of yours is your personal and you connect to the internet
through a dialup connection, try to use the same server which is specified
in your mail-program.
It is because of this setting that your code fails to execute. It tries to
connect to a SMTP service on "localhost" which is your own machine.
Windows98 doesn't have a SMTP-service installed per default.
- Carsten