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.


getting weird mailtodisk.exe popup error

After following the video in the "setting an error message variable" section, when I try to view the contact.php page in my browser, I get this weird popup saying "mailtodisk.exe - No Disk: There is no disk in the drive. Please insert a disk into dirve \device\Harddisk3\DR3." I figured I did something wrong and kept going over the video again and again... but even after simply trying to instead view the treehouse contact page on my browser, i get the same popup message. Why is this happening?

1 Answer

Your PHP install must be configured to use mailtodisk.exe

You can check you php.ini file - it should have a configuration for the mailer. You can either fix the path or change it to something like gmail or another mail provider.