Hi all
i am sending a image as a attachment my code is :-
JPEGEncodedImage jpegImage = JPEGEncodedImage.encode(image,100);
status.setText(jpegImage.getMIMEType());
sap = new SupportedAttachmentPart(mp,jpegImage.getMIMEType() ,"x-rimdeviceimage.jpg",jpegImage.getData() );
i am receving a mail with text body in outlook which is configured to ESS server , but i am not able to find any attachment but in the simulator its showing that image is attached though its not opening in simulator, will it work fine in Real device.