RE: [PHP] How to implement e-mail facility?
| From: | Kraa de Simon | Date: | Thu, 06 Sep 2001 09:04:58 +0000 |
| Subject: | RE: [PHP] How to implement e-mail facility? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66180@lists.php.net to get a copy of this message | ||
Edit the [mail function] section in php.ini:
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = me@localhost.com
; For Unix only. You may supply arguments as well (default: 'sendmail -t
-i').
;sendmail_path =
HTH,
Simon.
> -----Original Message-----
> From: Balaji Ankem [mailto:balaji.ankem@wipro.com]
> Sent: donderdag 6 september 2001 23:00
> To: php-general@lists.php.net
> 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.
>
>
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> <?php
>
> $user_name="Balaji Ankem";
> $user_mail="balaji.ankem@wipro.com";
>
> mail($user_mail,"Thanks for visiting","Dear $user_name,\n We
> appreciate
> your visit.");
>
> ?>
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> Thanks and regards
> -Balaji Ankem
>
>