I’m creating a tool for a client that will allow them to fill out a form, preview what their custom email will look like, and then send the email. So…
Step 1: Fills out name, email, message and hits “Preview”
Step 2: Sees the echo’d HTML email with above var’s and hits “Send”
Step 3: Email sends and sees a confirmation message.
I have steps 1 and 2 working fine, but 3 is giving me problems. Since I have everything echo’d in Step 2, is there a way to somehow take that entire chunk and set it as its own variable to use in the mail() function? I’m also not sure how to get the var’s from Step 1 to carry all the way through to Step 3.
Thanks! 