Triggered Emails after form submission

Oh thank you so much! that makes sense.

Is this actual code that I would be able to use on my site?