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.
I want to check visitor's email on my Email Account but PHPmailer doesn't work
Hello There! I need help from you guys.I want to get Email on my Email account from visitors.But my codes have some errors.What's the wrong with my PHP script? I have two screenshots of my scripts.Here are the links https://postimg.org/image/ij56rqknr/ https://postimg.org/image/62zsdeiwd/
Please help me to find out the solution.
Andrew Dovganyuk10,633 Points
Hi Asad, I think in future videos Alena will show us how to fix it! But for now you can recive email from suggest form to a treehouse@lochalhost! So what you need to do for now is replace your gmail to treehouse@lochalhost, then in this video https://teamtreehouse.com/library/build-a-basic-php-website/adding-a-basic-form/using-the-console-to-check-email you'll see the instructions how to use the console to view forwarded emails!