View Single Post
Old 04-11-2008, 04:24 AM   #39
yeresera
New Member
 
Join Date: Apr 2008
Model: 8800
PIN: N/A
Carrier: SMART
Posts: 11
Default

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
Offline   Reply With Quote