I've added a table, created a form, posted the contents of the form to the table and can send myself a mail when a user submits the form. So far so good. What I want to do though is send the mail to the user and not to me.
For example, I'm setting up a page where people can register interest in attending a BBQ. They fill in their name, email address, number of adults, etc . . . and all that gets stored in the database so we can review it. What I want to do is to send them an email that contains either the plain text form data that they submitted or (even better) a mail merge type response which includes the data they submitted wrapped up in some custom text.
I can see in the registration module that there's an option to send a mail an activation mail - I want to replicate this on my BBQ form, but I'm stumped.
Can anyone point me in the right direction please ?
Thanks,
z
Bookmarks