Can I read MIME encoded email in Livecode - mime

I am busy with an app that requires me to read the contents of .msg and .eml files (MIME emails?) created in Outlook into my Livecode application. Can this be done and/or is there an example somewhere that I can use as base?
Regards
Danny

Related

Importing images from Slack

Slack exports its data as a ZIP, without images.
It uses public URLs instead, so on my imported chanels inside Rocket, I see only links to slack instead of the inline images.
Is there any way to instruct Rocket to automatically download all those images and embed them in the channels?
What would be the best way to do that?
Currently, RocketChat cannot automatically download and import the Slack attachments. There are several 3rd party and open source tools to separately download the referenced attachments in the Slack export files. One example is slack-advanced-exporter.
Then, you have all the attachments in a separate folder. This is still not enough to import the Slack messages with the attachments into RocketChat. An additional converter would be helpful to replace the urls in the Slack JSONs with the correct file links and create the correct folder structure for the attachments. As far as I know, this additional converter is still missing (at least in the open source landscape).

Can the Outlook addin Javascript file get information from manifest file?

I am working on an Outlook addin and we are evaluating to see if we can pass information from manifest file to the Javascript API callback.
Ex : we need some port information to be available in the manifest and this should be passed to the Javascript API callback on ItemSend.
Is there a way for this ?
I'm sorry but there is no way for JavaScript in your add-in to read its own manifest at runtime.
Like Rick mentioned, OfficeJS doesn't provide any straight mechanism for getting the manifest file content.
But you may consider your manifest file as any other file xml file hosted on the server, so you can read its content like any other file, of course, it is hosted on the web server somewhere (with your web application).

Outlook, I want to move messages with an attachment but it also moves messages without attachments

I'm using numerous rules to stop cluttering my inbox, and one of them is moving emails which contain attachments.
I want to move all emails which contain attachments to an 'attachments' folder. This works, but it also seems to move emails which don't have any attachments (at least the little paperclip logo doesn't show up).
Any idea what is going on?
EDIT: I found out that emails which didn't have attachments, still have the following in the header.
X-MS-Has-Attach: yes
I think this is because of the signatures containing some pictures and links. Any way to exclude these?
No, embedded image attachments are still regular by-value attachments.
On the low level, you could exclude messages with a specific MAPI property set (DASL name http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/8514000B, aka HidePaperClip), but the rule wizard won't let you specify a MAPI property.

outlook invitation with html not rendered correctly

I'm trying to send a nicely formatted email with an icalendar to a user who's using outlook 2010, but the result is horrible. If the file is removed everything looks great.
I thought I was doing something wrong, so I've tried the same scenario using Google's calendar and got the same result.
In following image, on the right side you can see how google's html is all messed up when it arrives from server.
on the left side, i've saved the email as eml changed the invitation mime-type to something else and the email is fixed:
You may find the sample two EML files here on github:
original_mail
fixed_mail_invite_not_working
As you'll see, the only difference is the calendar mime in line 172.
Does any one have any ideas why is this happening? is there a workaround?? or a fix?
Update: one of our clients sent me a screen-shot of his outlook, in this case you may see that outlook displays the html better and also process the event... any ideas?
Thanks,
Roey
Outlook internally uses RTF for the appointments, tasks and contacts, so your HTML will always be (imperfectly) converted to RTF.
There isn't much you can do besides tweaking your HTML until Outlook likes it.

Getting MS-Outlook embedded images and saving them within the file system using MS-Access VBA

I have a very special question concerning MS-Outlook and MS-Access VBA. I want to import the email data from outlook into a database (and the file system > attachments and embedded images). Using Google I find ways to get the emails incl. emails properties and the attachments. But I need images too which are embedded in rich text- and html-emails. Is there a way to realize this via VBA?
Thanks in advance.
Tommy
Embedded HTML images are just regular image attachments and can be saved using Attachment.SaveAsFile.
Embedded RTF images are a different story: they are OLE objects, and Attachment.SaveAsFile will fail. You can use Redemption (I am its author) for that - its RDOAttachment.SaveAsFile will extract WMF, Word, Excel, PowerPoint, PDF, etc. attachments from the attachment OLE storage and save them as files.

Resources