Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Xcode contact form

Am I able to have a text field that the user will enter their email address which will then we emailed to me?

1 Answer

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

For such functionality, you would have to capture their email address and then send a request to a mail server to send an email. Or you could use something like Parse to capture their email and store it in the cloud. We will be having a course on Parse very shortly. See the roadmap for details.

Amit... I so enjoy your tutorials. Would it be possible to do one that demonstrates how to do a contact form in ios with the data being emailed. Using a php script would be fine in my case. Thank you! Michael

Amit Bijlani
Amit Bijlani
Treehouse Guest Teacher

Glad to have you as a student. It's too specific of an example for us to cover but you should look into something like this: https://github.com/mikecheckDev/MDContactForm and see this discussion on StackOverflow: http://stackoverflow.com/questions/9236672/send-contact-form-fields-in-email