Re: Mail functions?
| From: | Justin Patrin | Date: | Thu, 12 Aug 2004 21:48:13 +0000 |
| Subject: | Re: Mail functions? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-24401@lists.php.net to get a copy of this message | ||
On Thu, 12 Aug 2004 17:42:57 -0400, trystano@aol.com <trystano@aol.com> wrote:
> Am I correcting thinking that, when you use the mail() function on the hosting server, the
> server will automatically pick up the SMTP server (i assume a hosting server will already have the
> SMTP-Server value in the php.ini file, which we do not have access to).
>
On Linux, it uses the local mail agent. On Windows, yes, the hosting
provder should have it filled out.
> But if testing on a local server, for instance on your laptop/PC, you need to edit teh PHP.ini
> file so that the SMPT server value points to a valid SMTP server?
>
> Thanks
>
> Tryst
>
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--