Closed rudolphpienaar closed 1 year ago
Hey @rudolphpienaar, CLI is used by a few tools that I know of, like the Viva Connections Toolkit VS Code extension, and Angular schematic for Microsoft Teams. We expose an API that apps can use to integrate with the CLI. Is there anything specific that you're interested in?
Ideally I'd like to use a standard 3rd party client (like Thunderbird or mutt) to leverage this. In the vein of "If you have an itch, scratch it", I implemented a first-pass solution here:
https://github.com/FNNDSC/mbox2m365
It needs some additional internediate "stuff" -- like a lightly configured postfix
server that the email client uses instead of Outlook. This server simply dumps emails to file (mbox
) and then a small python "bridge" parses the mbox
for any new arrivals, figures out compound "to" recipients, and then calls m365
. It currently works for me, with the notable exception of attachments since m365
does not currently cater for this. At the moment mbox2m365
will mostly construct a conformant MIME body with any attachment base 64 encoded, however, since I can't modify the "content-type" I can't communicate to Outlook to treat this as a MIME transmission. Right now emails with attachments sent via this mechanism have the base64 body parts front and center in the email itself.
Ideally thus, being able to edit the content-type header and/or support attachments would be stunning.
Best
Interesting scenario. Just to see if I understand it correctly, you're proposing to extend the m365 outlook mail send
command with defining the content-type header and supporting attachments? If that's indeed the case, let's create a new issue with the proposal and take it from there! Great suggestion 👏
Attachments is already being worked on by the way. That will probably be launched In the beta version soon.
oh sweet!
Hi all --
I have been searching to little avail for client apps that might use/interface with these? For example, a CLI email app that uses
m365 outlook
as backend? It would be amazing ifmutt
was able to leverage this.Does anyone know of any such apps?