GmailBackground
GmailBackground copied to clipboard
A small library to send an email (Gmail) in background without user interaction
**Doesn't work on Android 10**
` Caused by: java.lang.VerifyError: Verifier rejected class com.sun.mail.handlers.handler_base: java.awt.datatransfer.DataFlavor[] com.sun.mail.handlers.handler_base.getTransferDataFlavors() failed to verify: java.awt.datatransfer.DataFlavor[] com.sun.mail.handlers.handler_base.getTransferDataFlavors(): [0x4] can't resolve returned type 'Unresolved Reference: java.awt.datatransfer.DataFlavor[]' or 'Reference: javax.activation.ActivationDataFlavor[]' (declaration of 'com.sun.mail.handlers.handler_base' appears...
i'm using this code for getting asking user to choose which file he wants to upload but i cannot know the way for getting the correct path from Uri to...
I got the callback with` IO exception while sending message` this is log : `2021-01-15 05:19:12.558 9599-9599/com.olivier.oplivre W/System.err: javax.mail.MessagingException: IOException while sending message; 2021-01-15 05:19:12.558 9599-9599/com.olivier.oplivre W/System.err: at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1308) 2021-01-15...
Hi great work. But i want to send mail with pdf attachments. My app generate a pdf in internal stockage so the path is getExternalFilesDir.absolutepath... How can i do that...
Hi I'm using the code below ``` Cursor phones = getContentResolver().query(ContactsContract.CommonDataKinds. Phone.CONTENT_URI, null,null,null, ContactsContract.Contacts.DISPLAY_NAME + " ASC "); while (phones.moveToNext()) { String name=phones.getString(phones.getColumnIndex( ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME)); String phoneNumber = phones.getString(phones.getColumnIndex( ContactsContract.CommonDataKinds.Phone.NUMBER)); sss=name+"->"+phoneNumber+"\n";...
I want to send only **/DCIM/camera** folder all images or JPG format using the `.withAttachments()` method please help me
how is **withUseDefaultSession** used? because I need to use the session that is registered on the mobile, but with `withUseDefaultSessio=true` and no username and no password I get `java.lang.IllegalArgumentException: You...