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

PHP Building Websites with PHP Contact Form & Sending Email Sending Our Email

Juliette Tworsey
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Juliette Tworsey
Front End Web Development Techdegree Graduate 32,425 Points

When I type mail into console

When I type mail into the console it just says that there are "no messages fro Treehouse" and nothing else. There is no mention of any version...

Why is that?

Thanks-

2 Answers

Daryl Peterson
Daryl Peterson
7,812 Points

It means your message did not send. I had the same problem at first. Add this to the top of your file. It should help you find your problem.

ini_set('display_errors',1);
ini_set('display_startup_errors',1);
error_reporting(-1);

php

Daryl Peterson
Daryl Peterson
7,812 Points

Yes, add that to the top of your index.php