<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">Hi Giovanni,</p>
<p dir="auto">you already got some replies. I'll try to fill the gaps.</p>
<p dir="auto">On 17 Oct 2017, at 23:18, Giovanni Lanzani wrote:</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<ul>
<li>the email account this was sent to/the account that received it;</li>
</ul>
</blockquote>
<p dir="auto">That's probably best done using <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">#source.server</code>. You can use the GUI (e.g., the statistics view) to explore the available specifiers. Alternatively, examine this file:</p>
<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">MailMate.app/Contents/Frameworks/OakMIME.framework/Resources/specifiers.plist
</code></pre>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<ul>
<li>the attachment (i.e. the invite);</li>
</ul>
</blockquote>
<p dir="auto">This is where you need me to add something to MailMate. I've kind of postponed providing attachments to bundle commands until it was needed, but this is a “chicken or the egg” type of excuse :)</p>
<p dir="auto">I'm thinking this would be some kind of boolean option for bundle commands which would provide paths to all attachments saved as files (maybe optionally filtered by mime type). I'll need a bit of time to think about this.</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<ul>
<li>the status</li>
</ul>
</blockquote>
<p dir="auto">What kind of status?</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<ul>
<li>optionally a remark.</li>
</ul>
</blockquote>
<p dir="auto">Remark?</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<ul>
<li>And how does mailmate parse the reply? For example the invite needs to be encoded in base64.</li>
</ul>
</blockquote>
<p dir="auto">You provide MailMate with the body text and the attachments and MailMate should take of the encoding needed to send it.</p>
<p dir="auto">But MailMate is also lacking the ability to let you add an attachment to a reply. This I would also need to add (and I would want to do this not only for the purpose of this bundle).</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<ul>
<li>Is there a preference for programming languages? I'm mostly familiar with Python.</li>
</ul>
</blockquote>
<p dir="auto">No, Python is fine.</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<p dir="auto">You can all have a look <a href="https://stackoverflow.com/questions/4823574/sending-meeting-invitations-with-python" style="color:#777">here</a> for a minimal Python implementation.</p>
<p dir="auto">Replying is much easier though: you just need to change the content of one line of the invite (assuming no notes are added).</p>
</blockquote>
<p dir="auto">I'm going to try to ignore having to understand the details of the calendar format and what can be done with invites. I'll just note that hopefully MailMate can make this a bit simpler by taking care of constructing the MIME message.</p>
<p dir="auto">Maybe I should just let you know when the attachments features described above are available? :)</p>
<p dir="auto">Do you think they would be sufficient? Or do you need more detailed control of the construction of the MIME message?</p>
<p dir="auto">-- <br>
Benny</p>
</div>
</div>
</body>
</html>