I have a website with an online subscription form in PHP.
Step1/- A visitor fills in his name and email address.
Step 2/- Next, I get visitor name and email address inside my INBOX.
Step 3/- Next, I send an email to confirm his email address.
(Like…Just reply me back to confirm your email address etc…)
Current PHP form
[[[ Page with PHP Form Code ]]]
<input id="submit" type="image" src="images.png"value="submit"
[[[ Confirmation Page Code ]]]
$name = $_REQUEST[‘name’] ;
$email = $_REQUEST[‘email’] ;
$body = “A user $name send data \n”.
“Email: $email \n”.
mail( "email@example.com", “User Data via Web Form”, $body );
I want to automate the step 2 and step 3.
Like,… I get visitor data inside my inbox but at the same time website visitor also gets an
automatic email message from my side.