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 Build a Simple PHP Application Wrapping Up The Project Sending The Contact Form Email

Bob Passaro
Bob Passaro
8,438 Points

outdated version of PHPmailer

fyi, it looks like the current version of PHPmailer is a little different than the version used to demonstrate this in the video. Sample files are different. I think another file PHPMailerAutoload.php has to be in the inc folder, and the way the email body is handled is different as well.

Great course, so far, though. Learning a lot.

1 Answer

Philip Bradbury
Philip Bradbury
33,368 Points

Thank you this helped me out. You are correct the PHPMailerAutoload.php has to be saved into the phpmailer folder in the inc folder. You don't have to reference it in your code though.