You have to do following settings in php.ini
A) if your using windows system
[mail function]
; For Win32 only.
SMTP = (name or ip address of smtp sever)
smtp_port = 25
; For Win32 only.
sendmail_from = (your email id)
B) if your using linux system
; For Unix only. You may supply arguments as well (default: "sendmail
-t -i").
sendmail_path = path-to-sendmail -t -i -f (your email id)
hope it will work for you
With Best Wishes
Balwant Singh
========================
INDO ASIAN FUSEGEAR LTD.
A-39, HOSIERY COMPLEX
PHASE - II EXTN., NOIDA
PH: +91 - 120 - 3048140 / 3042222
FAX: +91 - 120 - 2568 473
WEB : www.indoasian.com
-------- Original Message --------
From: "Daryl Booth" <adbooth@xxxxxxxxxxx>
To: php-db@xxxxxxxxxxxxx
Subject: A question with php.ini
Date: 9/22/2005 00:01
Hi,
How does the php.ini need to be setup for SMTP or how do I find it out?
Thank-You very much
Daryl Booth
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php