mailcore2

Building Mailcore2 on linux

ε祈祈猫儿з 提交于 2021-02-08 06:53:23
问题 I'm trying to build the mailcore2 library on linux (Ubuntu 18.04) but having a hard time. (Mostly) following the directions on their repo here: https://github.com/MailCore/mailcore2/blob/master/build-linux/README.md So first I install dependencies (that all goes fine): sudo apt-get install libctemplate-dev libicu-dev libsasl2-dev libtidy-dev \ uuid-dev libxml2-dev libglib2.0-dev autoconf automake libtool cmake Then it instructs how to build libetpan, but I'm using the updated instructions

MailCore2 Reply / Forward

醉酒当歌 提交于 2021-01-29 04:42:12
问题 I'm using MailCore2 and everything looks perfect when I'm sending a new email, but now I'm trying to understand how to set an email like Reply or Forward. Thanks for the help 来源: https://stackoverflow.com/questions/30007826/mailcore2-reply-forward

MailCore2 Reply / Forward

限于喜欢 提交于 2021-01-29 04:40:25
问题 I'm using MailCore2 and everything looks perfect when I'm sending a new email, but now I'm trying to understand how to set an email like Reply or Forward. Thanks for the help 来源: https://stackoverflow.com/questions/30007826/mailcore2-reply-forward

Background task in iOS action extension

眉间皱痕 提交于 2020-04-08 08:54:06
问题 I'm working on an action extension for an app which prepares some data for the user and then uses MailCore2 to send this information to a SMTP server. Preparing data is done very fast, but sending the email might take some time (depending on its size). That's why I'm looking for a way to handle the sending activities in the background. But this results in some problems with different solutions: Using URLSession . This is the first way to go for handling big uploads or downloads in an iOS

MailCore: Offline HTML Rendering

筅森魡賤 提交于 2020-01-06 19:33:33
问题 It doesn't seem possible to use htmlBodyRenderingOperationWithMessage: when offline (I get the error A stable connection to the server could not be established.). Why is this? I already have the MCOIMAPMessage stored locally and thought it contained everything necessary to render the message. Is htmlBodyRenderingOperationWithMessage: pulling more data from the server? 回答1: Methods for rendering of MCOIMAPSession have limited capabilities. To support offline rendering of message, you should

Sending Mailcore2 Plain Emails in Swift

夙愿已清 提交于 2019-12-29 04:04:06
问题 I've recently incorporated MailCore2 into my Objective-C project, and it has worked perfectly. Now, I am in the process of transitioning the code within the app to Swift. I have successfully imported the MailCore2 API into my swift project, but I see no documentation (Google search, libmailcore.com, github) on how to turn the following working Objective-C code into Swift Code: MCOSMTPSession *smtpSession = [[MCOSMTPSession alloc] init]; smtpSession.hostname = @"smtp.gmail.com"; smtpSession

Running simultaneous operations in Mailcore2

偶尔善良 提交于 2019-12-25 04:47:05
问题 Is it possible to run multiple operations simultaneously? I'm downloading emails in the background through an operation. When my users open an email to view it I start another operation to get the message - this doesn't run until the downloading operations are complete. 回答1: You can adjust the property allowsFolderConcurrentAccessEnabled if you think you're always be on a server that supports it. Additionally, when you fetch a message, you can use a urgent flag to tell if you need to fetch it