<div class="markdown">
<p>On 16 Dec 2012, at 19:01, Miklos Koppan wrote:</p>
<blockquote>
<p>Could you please send me some links where I can find more detailed instructions regarding the possibility of creating new messages using AppleScript (even with attachments)?</p>
</blockquote>
<p>I believe this is currently the only documentation: http://updates.mailmate-app.com/release<em>notes#extended</em><em>url</em>scheme<em>to</em>be<em>used</em>via_applescript</p>
<p>The documentation references some scripts which you should use to make your own scripts (in order to avoid various encoding pitfalls).</p>
<p>As previously noted, you might also find “Edit ▸ Copy as Link” useful in order to put a URL on the pasteboard which can link back to the message in MailMate. This also works if you drag'n'drop messages to a text view. If the destination is plain text then the result is a URL as for “Copy as Link”. If the destination is rich text then the result is a subject-titled link (with the same URL).</p>
<p>There is likely to be a command line script included with MailMate soon which is a simple interface to the <code>mailto</code> URL scheme, e.g., to be able to do something like this:</p>
<pre><code>emate mailto --subject "Test Message" --to "mm-feedback@freron.com" attachment1.png attachment2.png
</code></pre>
<p>(The script is based on a contribution from a friendly user.)</p>
<hr>
<p>Benny</p>
</div>