|
Hi;
If you are using unix based system then also check
the file permissions.
Mazhar!
----- Original Message -----
Sent: Thursday, February 07, 2002 8:53
AM
Subject: Re: SendingMail as
Attachment
Hi,
Once you had added your file to the
messageBodyPart and before to send it, you�ll have to save
the changes you�ve made to the message. Then you
send it.
message.saveChanges();
Transport.send(message);
Hope it helps
Sergio
Sent: Thursday, February 07, 2002 1:25
PM
Subject: SendingMail as
Attachment
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
|