<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body><div style="font-family: sans-serif;"><div class="plaintext" style="white-space: normal;"><p dir="auto">Hi,</p>
<p dir="auto">this is just a guess into the wilde:</p>
<p dir="auto">do you check your pointers if they are valid and if the data type is valid?
<br>
Because nul pointers (etc) mostly cause a crash</p>
<p dir="auto">cheers
<br>
Matthias</p>
<p dir="auto">On 10 Sep 2023, at 22:42, Thomas Reintjes via mailmate wrote:</p>
</div><blockquote class="embedded" style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; color: #777777;"><div id="346CF58A-2382-4C3A-878C-8EAFD900078D">
<div style="font-family: sans-serif;">
<div class="markdown" style="white-space: normal;">
<p dir="auto">Hi,</p>
<p dir="auto">I made <a href="https://github.com/tomtjes/Addy.io.mmBundle" style="color: #3983C4;">this bundle</a> to change some headers of certain emails. It works as expected when applied from the Commands menu. However, when I use a smart mailbox and create a rule to execute the command, MailMate crashes. Here’s what I see on the console:</p>
<pre style="margin-left: 15px; margin-right: 15px; padding: 5px; background-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; max-width: 90vw;"><code style="margin: 0 0; border-radius: 3px; background-color: #F7F7F7; padding: 0px;">Updated headers: from original-from original-reply-to original-to reply-to to
Pointers (0x0,0x0,0x0):
Decoded size: 0
Number of subparts: 0
Fatal: Not decoded and no pointers available.
0x0,0x0,0x0
[1] 59072 abort /Applications/MailMate.app/Contents/MacOS/MailMate
</code></pre>
<p dir="auto">Is this a bug? Is it a flaw in my bundle? Can anyone give me a clue?</p>
<p dir="auto">Best,<br>
Thomas</p>
</div>
</div></div></blockquote>
<div class="plaintext" style="white-space: normal;">
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; color: #777777;"><p dir="auto">_______________________________________________
<br>
mailmate mailing list
<br>
mailmate@lists.freron.com
<br>
<a href="https://lists.freron.com/listinfo/mailmate" style="color: #777777;">https://lists.freron.com/listinfo/mailmate</a></p>
</blockquote></div>
</div>
</body>
</html>