Hi james2012,
1. You can handle the upload file extension by property "AllowedFileExtensions".
$uploader->AllowedFileExtensions="docx,pdf,jpg";
2. You need to write your own method to achieve the send mail function. The php uploader just a upload control, has not that function in-build.
Regards,
Ken