sample program to send mail with attached file