I am trying to send a email everytime a customer sign-up using my form. I want the email to work in the background. I have created a mysql database and set the form/webpage. How would I go about making this. Is there a way to send a email in the background everytime a user signs up?
jdgrinder 0 Newbie Poster
Recommended Answers
Jump to PostI am trying to send a email everytime a customer sign-up using my form. I want the email to work in the background. I have created a mysql database and set the form/webpage. How would I go about making this. Is there a way to send a email in …
Jump to Post$_POST and $_GET are arrays, they won't actually email anything to you. You will probably need the php mail function for this.
Jump to PostHi jdgrinder,
You already have your form so you just need to actually send the email. Add this code after everything you posted (line 122).
// Set your email address. $admin_email = "your_email@address.com"; // Set email headers. $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=iso-8859-1" . …
All 10 Replies

LastMitch
jdgrinder 0 Newbie Poster

LastMitch

Zagga

LastMitch
jdgrinder 0 Newbie Poster

LastMitch

Zagga
jdgrinder 0 Newbie Poster

LastMitch
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.