Commit Graph

184 Commits

Author SHA1 Message Date
dankito f1f16e2e9e Using now messageId for FetchEmailError 2024-11-28 03:48:14 +01:00
dankito 54a5227fb7 Renamed FetchEmailsError to FetchEmailError 2024-11-28 03:41:14 +01:00
dankito 9480bc0282 Sped up fetching data 2024-11-28 02:52:29 +01:00
dankito 07046baa9c Raised Gradle heap size 2024-11-28 02:22:32 +01:00
dankito fef3765b8f Fixed that filename is always non-null 2024-11-28 02:21:15 +01:00
dankito 2c8f4ec050 Added check for isEncrypted == false as encrypted messages don't have a (readable) message body 2024-11-28 02:19:32 +01:00
dankito 4deaf9cb21 Using the new OrNull() methods so we don't have to catch the exceptions here 2024-11-28 02:13:58 +01:00
dankito a1eea168e9 Added overloads that catch exceptions and return null on error 2024-11-28 02:04:20 +01:00
dankito 5abfa0b641 By default not downloading any attachments anymore 2024-11-28 01:55:18 +01:00
dankito 922fa629ae Moved bodies up 2024-11-28 01:51:49 +01:00
dankito 0a53966b16 Up prioritized messageId and added documentation for it 2024-11-28 01:50:52 +01:00
dankito 110da9ced6 Added BCC field 2024-11-28 01:48:50 +01:00
dankito 3d1857de3a Forgot to commit contentLanguage property 2024-11-28 01:41:39 +01:00
dankito d976f848de Implemented option downloadOnlyPlainTextOrHtmlMessageBody 2024-11-28 01:40:20 +01:00
dankito b28403025c Added extension, size, contentType and disposition to EmailAttachment 2024-11-28 01:33:31 +01:00
dankito 1d7c07e7d6 Fixed that replyTo and getRecipients() may return null 2024-11-27 04:36:36 +01:00
dankito c1c33d80a0 Added contentLanguage 2024-11-27 04:35:55 +01:00
dankito 00c062f9a9 Moved date up and added default values 2024-11-27 04:23:07 +01:00
dankito 318903db40 Mapping sender, to, cc and replyTo 2024-11-27 04:15:23 +01:00
dankito 64966ea827 Added FetchProfile to speed up fetch process 2024-11-27 03:47:51 +01:00
dankito d031b9414d Renamed findAttachment() to getAttachment() 2024-11-27 03:35:56 +01:00
dankito c65d99e35d Removed unnecessary async { } 2024-11-27 03:35:19 +01:00
dankito 1e372cf592 Implemented saving message UID so that on next app run fetchAllEmails() can continue on last downloaded message 2024-11-26 21:44:01 +01:00
dankito 9257205a43 Fixed that Apache FOP logged so many messages that Gradle crashed 2024-11-26 21:39:00 +01:00
dankito 3e401b1c00 Using now stable message UID instead of unreliable messageNumber 2024-11-26 21:22:18 +01:00
dankito 1e986e800d Added method overloads with Input-/OutputStream 2024-11-26 20:45:18 +01:00
dankito f24b2004bb Controlling now eInvoice XML format via EInvoiceXmlFormat 2024-11-26 16:40:22 +01:00
dankito 6ec302e50f Implemented attaching XRechnung to Factur-X PDF 2024-11-26 16:05:35 +01:00
dankito ef42ddee37 Closing streams 2024-11-26 15:55:14 +01:00
dankito af03c0d5d3 Removed debugging code 2024-11-26 06:44:24 +01:00
dankito b37c4619d2 Removing illegal filename characters also from attachment filename 2024-11-26 06:14:14 +01:00
dankito a078b8bf66 Implemented configuring connect timeout 2024-11-26 06:10:01 +01:00
dankito 2b08db3374 Fixed getting parent 2024-11-26 06:06:12 +01:00
dankito bb5b89fd5a Removed message body parts from attachment parts 2024-11-26 06:05:58 +01:00
dankito ccf48f7cb4 Added mail account username to attachments download directory 2024-11-26 04:32:49 +01:00
dankito 4aefa86ab9 Downloading eInvoice files only once 2024-11-26 04:12:14 +01:00
dankito 4dc9b43189 Implemented configuring attachments download folder 2024-11-26 04:06:22 +01:00
dankito b3f6f2dbc3 Implemented configuring which attachments should be downloaded 2024-11-26 03:57:39 +01:00
dankito d70a748ad0 Returning now all mails and attachments, not only those with eInvoices 2024-11-26 03:47:55 +01:00
dankito c3cf0652b2 Made coroutineDispatcher configurable 2024-11-26 03:38:35 +01:00
dankito 72991218d9 Little refactoring 2024-11-26 03:26:43 +01:00
dankito 199310de86 Added flag to stop listening to new emails 2024-11-26 03:26:24 +01:00
dankito dcc4e233aa Moved data classes to model subpackage 2024-11-26 03:21:35 +01:00
dankito e0b4550cd3 Added ListenForNewMailsOptions so that there onEmailReceived has to be set 2024-11-26 03:19:11 +01:00
dankito 31ba07d5e9 Added emailFolderName, onError and onEmailReceived to FetchEmailsOptions, so that also fetchAllEmails() can set a progress listener for each received email 2024-11-26 03:06:56 +01:00
dankito bb3f468c48 Renamed package mail to email 2024-11-26 02:46:10 +01:00
dankito 231da572e5 Renamed error listener to onError 2024-11-26 02:44:54 +01:00
dankito 8b7bd31cf1 Renamed listAllMessagesWithEInvoice() to fetchAllEmails() and listenForNewReceivedEInvoices() to listenForNewEmails() 2024-11-26 02:43:24 +01:00
dankito d66afa50a9 Renamed classes from 'ReadMails' to 'FetchEmails' 2024-11-26 02:27:16 +01:00
dankito eb9b42fb97 Raised timeouts 2024-11-26 02:12:33 +01:00