Using additional email address in mail to scrip

Using additional email address in mail to scrip

I would like to send confirmation emails on successful submission from my app. So far the only email variables I can see are adminuser or loginuser. How can I setup another email and make sure it's coming from it?