Re: trying to send mail via localhost
| From: | Labunski | Date: | Sat, 16 Apr 2005 22:04:25 +0000 |
| Subject: | Re: trying to send mail via localhost | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213217@lists.php.net to get a copy of this message | ||
Hi,
Unless I'm mistaken, it's cause of bad SMTP address in your php.ini file,
and so (if you haven't installed SMTP server on your PC),
you have to set the SMTP line in your php.ini file to your internet
provider's smtp address.
For example, I'm on Windows and my internet provider's smtp address is
mx.e-teliamtc.lv,
so php.ini file looks like:
[mail function]
; For Win32 only.
SMTP = mx.e-telia.lv
; For Unix only. You may supply arguments as well (default:
"sendmail -t -i").
;sendmail_path =
Sorry for my bad english,
Lab