Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Qasim Hafeez12,731 Points
Doing this on MAMP
Has anyone done this successfully with MAMP? I had the same problem in a previous php course that involved sending email. I understood everything but, when it came time to send the email, I could not. I've tried the things that I've googled but nothing has worked.
Aurelian Spodarec10,789 Points
Watch the whole course. They should tell about this later on.
You can't send an email from a local server. It won't work. You need to be on a live server, same as a user can't register on your website without internet connection even if you give him your local code.