I want send image to server with your respective text.
I have challenge with class "Mail" , my server have WebMail(RoundCube), but I don't know how send image (bytes/transformText - > Image/etc.)
I use this class MAIL : To sender
http://www.jondev.net/articles/Sending_Emails_without_User_Intervention_(no_Intents)_in_Android
private Mail m;
m = new Mail("tester@hotmail.com", "passtester");
String[] toArr = {"test@hotmail.com"};
m.setTo(toArr);
m.setFrom("test@hotmail.com");
m.setSubject("Subject");
m.setBody(""+ticket_id \n ""+Here put image[bytes?] );
I get correctly text, but I do not found guide to send image.
Thanks.