Hi This is PHP code and will be parsed by the webserver before being send out to the browser. All that is displayed in the browser is the non PHP stuff. So the email address is in the source code of the php page but when you click 'view source' in your browser you won't see it. Jack -----Original Message----- From: howard gramer [mailto:hagdb@xxxxxxxxxxx] Sent: Wednesday, November 26, 2003 7:57 PM To: Jack van Zanen Prive Cc: php-db@xxxxxxxxxxxxx Subject: RE: Re: send email Sorry, I don't understand. I thought the code that you posted was what goes in the HTML page; meaning I thought it was php code. Where does the source code sit? howard grämer New York City hagdb@xxxxxxxxxxx >From: "Jack van Zanen" <jack@xxxxxxxxxxxx> >To: "howard gramer" <hagdb@xxxxxxxxxxx> >CC: "Php-Db" <php-db@xxxxxxxxxxxxx> >Subject: RE: Re: send email >Date: Tue, 25 Nov 2003 23:24:43 +0100 > >Hi > > >my example earlier does not show the email address in the source of >the displayed web page. It is in the source code, but you can change >that to be put in a config file >and include this file in the script. > > >Jack > >-----Original Message----- >From: howard gramer [mailto:hagdb@xxxxxxxxxxx] >Sent: dinsdag 25 november 2003 21:09 >To: kim@xxxxxxxxxxxxx >Cc: php-db@xxxxxxxxxxxxx >Subject: Re: Re: send email > > >I am in the same boat, >( I posted a couple of days ago Subject: Re: Send formmail >data to Email and Database ), not knowing where to put the Mail() into >my own code. I am working on it but no success yet. > >But, my real question in this topic; with formmail.pl using Sendmail >your able to use "recipients_alias = myemail@xxxxxxxxxxx" inside of the >FormMail.conf file. So this means you can hide the email address in >the configuration file without it being seen in the page source. > >How do you accomplish the same with Mail()? i.e. hiding the email > > >howard grämer > New York City > hagdb@xxxxxxxxxxx > > > >From: "Kim Steinhaug" <kim@xxxxxxxxxxxxx> > >Reply-To: "Kim Steinhaug" <kim@xxxxxxxxxxxxx> > >To: php-db@xxxxxxxxxxxxx > >Subject: Re: send email > >Date: Tue, 25 Nov 2003 19:57:44 +0100 > > > >Well this shouldnt be any problem. I suspect you dont > >know how to set up the email routine since your asking. > > > >All you need to do is insert a sendmail script together with the > >update of the mySQL database. You could use PHPs internal functions > >for this, but Ill recommend you using PHPmailer which is heavily > >documentet with tons of examples on how to use. > > > >The PHPmailer is located at sourceforge and you should find it right > >away. It has to be the most elegant way I know of sending emails from > >PHP scripts. > > > >And as a bonus, the PHPmailer is under active development so you will > >most likely never run into problems using it, :) > > > >-- > >Kim Steinhaug > >--------------------------------------------------------------- > >There are 10 types of people when it comes to binary numbers: those > >who understand them, and those who don't. > >--------------------------------------------------------------- > > > > > >"Redhat" <redhat@xxxxxxxxxxxxxxx> wrote in message > >news:1069767834.2095.11.camel@xxxxxxxxxxxxxx > > > I have created a simple form that dumps input information into a > > > mysql database. The person that I created it for said it would be > > > nice if >it > > > would also notify him by email that an entry was added to the >database. > > > I have no idea where to begin with that - any ideas? thanks, > > > DF _________________________________________________________________ Set yourself up for fun at home! Get tips on home entertainment equipment, video game reviews, and more here. http://special.msn.com/home/homeent.armx -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php