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


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.