If Mail::Sender is to be handed a file, then the file needs to be on the server. So you need to provide the whole path of the file on the server. If you mean to allow the web user to send a file from his machine, you'll need a 2 step process, where you upoload the file from cleint to server, then give MailFile the name of the file on the server.
--Bob Niederman, http://bob-n.com
All code given here is UNTESTED unless otherwise stated.