Edit the [mail function] section in php.ini:
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = [EMAIL PROTECTED]
; For Unix only. You may supply arguments as well (default: 'sendmail -t
-i').
;sendmail_path =
HTH,
Simon.
> -Original Message-
> From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
> Sent: donderdag 6 september 2001 23:00
> To: [EMAIL PROTECTED]
> Cc: Renze Munnik
> Subject: [PHP] How to implement e-mail facility?
>
>
>
> Hi friend,
> I want to mail a user if he forget password .
> How to implement that.
> What are all the requirements.
>
> please see the following code.
>
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> $user_name="Balaji Ankem";
> $user_mail="[EMAIL PROTECTED]";
>
> mail($user_mail,"Thanks for visiting","Dear $user_name,\n We
> appreciate
> your visit.");
>
> ?>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> Thanks and regards
> -Balaji Ankem
>
>
--
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]