Hello All,
        I am trying to send a file(JPG Image) from my PC as an Attachment,but it is giving me an Exception (access denied)"java.io.FilePermission". 

 I am using the JavaMailAPI for sending the Attachment.Also i have  given the IMG SRC(Hard Code) to a String and that String is sent as an  Attachment.(messageBodyPart.setFileName(filename))

 Please help me out.
 
Thanks
 
Sameer

Reply via email to