How do I make a PHP confirmation email?

Nicholas C

New member
Hi,

How do I make a PHP confirmation email so that when the user enters their details into a contact us page it will send them an email to the address they just entered a message telling them to go to a page on my website.
The user will then click the link and I would like the page to get the information the user entered from the previous page and automatically send off the email. This information could be in the form of cookie on the user's machine. Please don't get me wrong, it is not part of a user registration. Here I will outline it simply so that it is easier to understand:

Contact Us page:

Name field
Email field
Drop downs
Message
Checkbox

submit- user clicks this is sends off an email to the email field
----------------------------
Confirmation email:

Thanks for contacting us...etc

Go to this link .......
------------------------
Linked page

processes php script

Result:

Thanks the email has successfully been sent to the support team at my company

OR

We're sorry the message cannot be send, please try again later

-------------------------------
Please note- I cannot use a MySQL database as my hosting company only allows me to use 1 database and I am already using a MS SQL database.

Any suggestions, thanks.
 
Back
Top