Messages are not being sent... check the code for comments.
It's very common to send an email from a web page these days,
but what if you want to send a user a file along with that email?
People get confused over this, but luckily it's really not that
much harder then sending a plain message.
There is one point I should clarify... files attached to messages
sent from your server need to be on your server in order to be
attached to the message. Even if the user is filling out a form and
entering all the data being sent in the message, the message is still
being sent from the server and the user can not attach a file
from their local hard drive. (FYI: To accomplish this the user would need
to upload the file to the server first.)