Re: How to implement e-mail facility?

From: Date: Fri, 07 Sep 2001 17:50:10 +0000
Subject: Re: How to implement e-mail facility?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-66324@lists.php.net to get a copy of this message
hi! , mine is windows 98 machine. Not linux. anyway i am using my company mail server. I am finding php.ini in c:\pear\tests directory instaed of c:\windows and it does not contain anything. It has following stuff only. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ; php.ini for PEAR tests include_path=.. [java] extension=php_java.dll java.library.path=c:\php\extensions\ java.class.path="c:\php\extensions\jdk1.3.1\php_java.jar;c:\myclasses" (this one i added just some time back for implementing e-mail) [mail function] ; For Win32 only. SMTP = 10.145.0.18 ; For Win32 only. sendmail_from = balaji.ankem@wipro.com >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> And i want to change environment variables like HTTP_REFERER and SMTP and all.. I am in a position unable to change those vars. thanks in advance. Regards -Balaji ----- Original Message ----- From: Richard Lynch <ceo@l-i-e.com> To: Balaji Ankem <balaji.ankem@wipro.com> Sent: Friday, September 07, 2001 7:43 AM Subject: Re: How to implement e-mail facility? Where is sendmail on your system? Make php.ini have this: sendmail_path = "/usr/bin/sendmail -t -i" Only use whatever your sendmail path is. -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: Balaji Ankem <balaji.ankem@wipro.com> To: Kraa de Simon <Simon.de.Kraa@icl.nl> Cc: Richard Lynch <ceo@l-i-e.com> Sent: Thursday, September 06, 2001 5:49 PM Subject: How to implement e-mail facility? > Hi , > it is giving the following errors... > > plz check.. > > email2.php > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > <?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."); > > ?> > > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > errors: > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > Warning: Unknown error in c:\www\email2.php on line 7 > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > php.ini > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > ; php.ini for PEAR tests > include_path=.. > [java] > extension=php_java.dll > java.library.path=c:\php\extensions\ > java.class.path="c:\php\extensions\jdk1.3.1\php_java.jar;c:\myclasses" > > [mail function] > ; For Win32 only. > SMTP = 10.145.0.18 > > ; For Win32 only. > sendmail_from = balaji@localhost.com > > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > > Thanks and regards > > -Balaji > ----- Original Message ----- > From: Kraa de Simon <Simon.de.Kraa@icl.nl> > To: 'Balaji Ankem' <balaji.ankem@wipro.com>; <php-general@lists.php.net> > Cc: Renze Munnik <renze@datalink.nl> > Sent: Thursday, September 06, 2001 2:34 PM > Subject: RE: [PHP] How to implement e-mail facility? > > > 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 > > > > > >

---------------------------------------------------------------------------------------------------------------------------------- Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailto:mailadmin@wipro.com and delete this mail from your records. ---------------------------------------------------------------------------------------------------------------------------------
« previous php.general (#66324) next »