I am in the same boat,
( I posted a couple of days ago Subject: Re: [PHP-DB] 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 = [EMAIL PROTECTED]" 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 [EMAIL PROTECTED]

From: "Kim Steinhaug" <[EMAIL PROTECTED]>
Reply-To: "Kim Steinhaug" <[EMAIL PROTECTED]>
Subject: [PHP-DB] 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" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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

online games and music with a high-speed Internet connection! Prices start at less than $1 a day average. https://broadband.msn.com (Prices may vary by service area.)

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to