RE: [PHP] mail() function how???
| From: | Knotek Vlastimil | Date: | Thu, 15 Mar 2001 15:05:25 +0000 |
| Subject: | RE: [PHP] mail() function how??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-44035@lists.php.net to get a copy of this message | ||
Hi
You mast have some mail server installed, or an access to one.
Then you have to configure your PHP.ini file:
1. If you are running under Windows:
[mail function]
SMTP = address of the mail server (mailserver.com
or IP address)
sendmail_from = from@mailserver.com
'from' can be anything you want
'mailserver.com' must be same in both lines
2. If you are running under linux:
;sendmail_path = ;may supply arguments as well (default is 'sendmail
-t -i')
K.V.
-----Original Message-----
From: Nilesh Parmar [mailto:np_wroxindia@satyam.net.in]
Sent: Thursday, March 15, 2001 4:04 AM
To: php-general@lists.php.net
Subject: [PHP] mail() function how???
Hello !!
I have insalled php on my windows 98 machine.But the mail() function does
not work.
Can anyone give me info as to how to use the mail() function in
php.Or rather should i require any configurations on my machine.
please help
thanx in advance
Nilesh Parmar
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net