Mail Extensions

RSS for tag

Use Mail Extensions for composition, message actions, secure email, and content blocking in the Mail app.

Posts under Mail Extensions tag

41 Posts
Sort by:
Post not yet marked as solved
1 Replies
612 Views
Hi, I have an application which adds custom signature to Signature tab of the Mail Preference window based on the inputs entered (first name , last name , Designation,Phone , address etc etc....). I’m wondering if the new Mail Extension can be used to do signatures more ‘natively’. Can MEComposeSessionHandler be used for this? Please help. Thanks In Advance. Regards, Neetha
Posted
by
Post marked as solved
2 Replies
766 Views
Hello, MailKit for macOS 12 looks great, but it is possible to have access to incoming/outgoing email attachments? For the moment MEMessage does not give access to such properties. Or any other ways to achieve this? (like some data parsing)? Thank you
Posted
by
Post marked as solved
1 Replies
486 Views
I have a multipart message and in the MEMessageSecurityHandler.decodedMessage(forMessageData:) function call, I can access all of the headers of the email, but when I get to the body section, the actual content of the email is missing. I've dumped the data out to a file and can see that there is an X-Apple-Content-Length header been added, but the content of the multipart email --=-=W2HxPVXDSaWZZw=-= X-Apple-Content-Length: 11 Content-Type: application/pgp-encrypted --=-=W2HxPVXDSaWZZw=-= Content-Transfer-Encoding: 7Bit Content-Disposition: inline; filename=openpgp-encrypted-message.asc Content-Type: application/octet-stream; name="openpgp-encrypted-message.asc" X-Apple-Content-Length: 9608 --=-=W2HxPVXDSaWZZw=-=-- How can I access the content of these parts to decrypt the message?
Posted
by
Post not yet marked as solved
1 Replies
346 Views
Hello! I registered with one tv provider in my country with my apple id, but since registering it shows my e-mail as my apple private email relay service email and due to this i can't change my email or password,because i didnt receive them to my actual e-mail. how do I change this and why my e-mails aren't forwarded to my actual e-mail?
Posted
by
Post not yet marked as solved
0 Replies
258 Views
Hey what's up everybody. A long time without connecting here. I'm pretty sure my trouble is not a new topic but I still having this trouble each time I want to sign my email. Do someone know how to solucionaste the problem of the image that disappears from the signature mail. I still using the apple mail platform... Thx
Posted
by
Post not yet marked as solved
0 Replies
422 Views
I have added an HTML signature to the Apple Mail, whenever I hit compose the font is the same, but when I hit send and receive the email, the font changes to something of a similar version. I have used a custom font in the email signature. Why does this issue happen?
Posted
by
Post not yet marked as solved
6 Replies
1k Views
When the mail extension invoke allowMessageSendForSession func, the error prompt did not show the error description. What am I missing? Below is the code:     enum ComposeSessionError: LocalizedError {         case invalidRecipientDomain                  var errorDescription: String? {             switch self {             case .invalidRecipientDomain:                 return "example.com is not a valid recipient domain"             }         }     }          func allowMessageSendForSession(_ session: MEComposeSession) async throws {         // Before Mail sends a message, your extension can validate the         // contents of the compose session. If the message isn't ready to be         // sent, throw an error.         throw ComposeSessionError.invalidRecipientDomain     }
Posted
by
Post not yet marked as solved
0 Replies
280 Views
The new apple mail doesn't seem to want to automatically load emails from known senders. I can click the button to do the download, but it's getting annoying. I am sure there is a setting somewhere for that but haven't been able to find it yet. Anyone?
Posted
by
Post not yet marked as solved
1 Replies
352 Views
I've already created feedback id FB9647811 about this, but as there has been no response to that I was wondering if anyone else had experienced the same or found a fix. My extension was working until Monterey beta 7 but now it crashes with the following message: [MEDecodedMessage initWithData:securityInformation:]: unrecognized selector sent to instance According to the documentation this is the correct constructor.
Posted
by
Post not yet marked as solved
2 Replies
407 Views
Hello, I am not able to use or \n to take a new line in the email body in the default iOS mail application. Example: mailto:abc@gmailDOTcom?subject=test&body=Hello,mailBody Result in latest iOS mail app: Hello,mailBody Expected result: Hello, mailBody Will you please help me to resolve this issue?
Posted
by
Post not yet marked as solved
1 Replies
285 Views
when I throw an exception in the func allowMessageSendForSession(_ session: MEComposeSession), the mail.app will show alert with two buttons: "cancel" and "send anyway", if I press the "send anyway" then the mail will be sent successfully! I'm wondering: how to really stop sending email? Thanks
Posted
by
Post not yet marked as solved
2 Replies
233 Views
Hi All, I’ve noticed that the mails search by contact is not working as it should. it is showing emails of 2 months ago’ but the most recent ones. My accounts are pop 3 and mails are still on the server. Can this be related to the beta version? Thanks for your help. D
Posted
by
Post not yet marked as solved
0 Replies
248 Views
I am currently trying to develop an Apple Watch optimized email. But none of the existing approaches like using headers Content-Type: text/watch-html; charset="utf-8" Content-Type: text/X-watch-html; charset="utf-8" doesn't work. I also used the tricks described in the article on Litmus https://www.litmus.com/blog/how-to-send-hidden-version-email-apple-watch/ but it also had no effect. Apple Watch displays the standard text/html version of the email. Perhaps someone has a working solution or an explanation for the reason for this behavior.
Posted
by
Post not yet marked as solved
0 Replies
340 Views
Does any have anyone have documentation on the usage related to the forMessageContext and messageContext parameters and for the methods below? This is undocumented while public making it an unusable API. func extensionViewController(messageContext: Data) -> MEExtensionViewController? func primaryActionClicked(forMessageContext context: Data) async -> MEExtensionViewController? The APIs are located here but lack any kind of proper documentation and examples https://developer.apple.com/documentation/mailkit/memessagesecurityhandler/3882908-extensionviewcontroller
Posted
by
Post not yet marked as solved
1 Replies
220 Views
Hello, We have an issue with the dark mode color in the different OS in Mac OS the color is #1F2329 and in IOS is #1C1C1E. How to set up for this ? Thanks for your help
Posted
by
Post not yet marked as solved
0 Replies
220 Views
Hi All Is there a way to assign an email signature through the MECompose class? This process already working for gmail accounts, signatures settings can be set from an api provided by google. For outlook there is an AddIn that supports injecting a signature upon composing a mail. Now that extensions have come up for monterey, I wonder if they provided a way to do it for the mac mail app as well through the Mail Extension service. An example of what I want (to be able to do either of this 2 options) after pressing the extension (better solution to do it automatically just by this extension to be installed): Set a new signature name, for example 'Work' if it doesn't exist and fetch a signature from a REST API and edit it there. Upon composing new mail fetch a signature through REST API and set/replace the current signature with the one returned. Is it possible with the new Mail Extension package? It would also be nice for a short snippet of how to start with this. Regards, Shlomi
Posted
by
Post not yet marked as solved
0 Replies
215 Views
Hi Everyone, My boss and I are trying to choose and assimilate into a project management workflow and are currently considering some of the major PM apps available (Daylite, Basecamp, etc.). We are currently using Notion as a knowledge capture tool and project manager modeled after a program (Year Zero) created by productivity content creator August Bradley. But, one major requirement that we have and can't seem to figure out is creating a universal link to emails in Apple Mail. My boss uses Apple Mail to process his emails and would like to simply create a universal link to emails that contain action items or require later review, and send it to whatever PM software we choose, or to store in Notion. We have discovered a somewhat useful but clunky workaround in which you export an email to reminders or notes and it creates a link in the form of an icon back to the email, but the icon is not copy/paste-able into other apps like Notion, etc. Now, we are also aware that certain programs like Daylite, ToDoist, and Basecamp allow you to forward emails to your workspaces via proprietary email addresses that link to their databases, but these have varying degrees of utility as they often are very limited in the degree of control one has over where the email is sent and stored, and what information/formatting is retained. Anyway, does anyone have information about how to effectively universally link to an original email on the Apple Mail servers?
Posted
by