Changed defaults for downloadMessageBody and downloadOnlyPlainTextOrHtmlMessageBody
This commit is contained in:
parent
c516969cb0
commit
52bf9daa7d
|
@ -12,12 +12,12 @@ open class FetchEmailsOptions(
|
||||||
*/
|
*/
|
||||||
val lastRetrievedMessageId: Long? = null,
|
val lastRetrievedMessageId: Long? = null,
|
||||||
|
|
||||||
val downloadMessageBody: Boolean = false,
|
val downloadMessageBody: Boolean = true,
|
||||||
/**
|
/**
|
||||||
* If set to true and message contains a plain text message body, then only the plain text message body is downloaded
|
* If set to true and message contains a plain text message body, then only the plain text message body is downloaded
|
||||||
* and the HTML message body ignored / not downloaded. Reduces process time about 50 % (if no attachments get downloaded).
|
* and the HTML message body ignored / not downloaded. Reduces process time about 50 % (if no attachments get downloaded).
|
||||||
*/
|
*/
|
||||||
val downloadOnlyPlainTextOrHtmlMessageBody: Boolean = false,
|
val downloadOnlyPlainTextOrHtmlMessageBody: Boolean = true,
|
||||||
val downloadOnlyMessagesNewerThan: LocalDate? = null,
|
val downloadOnlyMessagesNewerThan: LocalDate? = null,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -7,8 +7,8 @@ import java.util.concurrent.atomic.AtomicBoolean
|
||||||
open class ListenForNewMailsOptions(
|
open class ListenForNewMailsOptions(
|
||||||
val stopListening: AtomicBoolean = AtomicBoolean(false),
|
val stopListening: AtomicBoolean = AtomicBoolean(false),
|
||||||
|
|
||||||
downloadMessageBody: Boolean = false,
|
downloadMessageBody: Boolean = true,
|
||||||
downloadOnlyPlainTextOrHtmlMessageBody: Boolean = false,
|
downloadOnlyPlainTextOrHtmlMessageBody: Boolean = true,
|
||||||
|
|
||||||
downloadAttachmentsWithExtensions: List<String> = DefaultDownloadedAttachmentsWithExtensions,
|
downloadAttachmentsWithExtensions: List<String> = DefaultDownloadedAttachmentsWithExtensions,
|
||||||
attachmentsDownloadDirectory: File = DefaultAttachmentsDownloadDirectory,
|
attachmentsDownloadDirectory: File = DefaultAttachmentsDownloadDirectory,
|
||||||
|
|
Loading…
Reference in New Issue