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 = [EMAIL PROTECTED]
'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:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 4:04 AM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]