Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Confirmation to a subscriber 1

Status
Not open for further replies.

danima

Programmer
Joined
Jan 9, 2002
Messages
134
Location
CA
Hey folks:

You'll probably hear a lot from me...our programmer decided to bolt and now this newbie is trying to make sense of all of our MySQL/PHP files....

On one of our sites there is a subscription set up for a newsletter. Once the person hits subscribe I get an email and the owner of the site also gets an email.....

$mailbody="$email has unsubscribed to Marshalling Your Resources!\n";

mail($webmaster_email,"Marshalling Your Resources Unsubscribe",$mailbody);

mail($owner_email,"Marshalling Your Resources Unsubscribe",$mailbody);

....how do I get it to send the subscriber a confirmation email?

Thanks a million!
 
i think u should use a new Excuse, when I click ur name and then ur Forums u have participated in it says that 4 a lot of the other posts that u have posted going back months. Lol

To err is human, to completely mess up takes a computer. [morning]
 
How dumb of me...of course...there is a $email variable...doh!!! Sorry, I'm under the gun...and a little jumpy. I did it and it worked like a charm. Much appreciated.....now you can stop chuckling :-)
 
hey csniffer....you are very observant. it's not an excuse...it's the truth.....I'm very basic...I can slap together a small CMS...but it's usually manipulating the code our programmer wrote....now he's not around...so, I'm a bit scattered brain these past 2 to 3 weeks.

Very observant...points for noticing!!
 
thx u

To err is human, to completely mess up takes a computer. [morning]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top