Hi everyone. I have a question:
Code:
SupportedAttachmentPart attachPart =
new SupportedAttachmentPart(multipart,
"image/jpeg",
selectedFile, readFile(selectedFile));
multipart.addBodyPart(attachPart);
the above code is part of my custom email application. when i try to send my email, the attachments doesnt appear as they suppose to appear. There is no additional view attachment from the menu.
from the code above, I know that the selectedFile is a jpg file. am i doing something wrong here? thanks