<!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="markdown" style="white-space: normal;">
<p dir="auto">On 20 Jun 2024, at 0:45, Randall Gellens wrote:</p>
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; color: #777777;">
<p dir="auto">I would find it extremely helpful to be able to have a custom column in a mailbox view. In my case, I really want to be able to see the Received->For value, as it's quite useful in my case for rapidly identifying spam and updating filters. I now have to go to View->Raw on an individual message to see it. There may be other header fields that others would find useful.</p>
</blockquote>
<p dir="auto">Create this file (and path):</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;">~/Library/Application Support/MailMate/Resources/MmMessageListView/outlineColumns.plist
</code></pre>
<p dir="auto">The following should be its contents (if you don't already have other custom columns). It looks complicated, but that's just because I based it on the From column which supports double-click search and some menu items for searching.</p>
<p dir="auto">A quick test shows that it would be nice if duplicates were removed, but that's not currently possible.</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;">{
columns =
{
receivedFor =
{
title = "Received For";
sortKey = "received.for";
formatting =
{
formatString = "${received.for}";
placeholderString = "(Not found)";
doubleClick =
{
titleImage = "NSUser";
titleSymbol = "person.fill";
titleFormatting = { prefixString = "From "; formatString = "“${received.for}”"; separator = " or "; };
queryFormatting = { formatString = "received.for = '${received.for}'"; separator = " or "; escapeSingleQuotes = 1; };
};
};
relatedSearches =
(
{
titleImage = "NSUser";
titleSymbol = "person.fill";
titleFormatting = { formatString = "From “${received.for}”"; separator = " or "; };
queryFormatting = { formatString = "from.address = '${received.for}'"; separator = " or "; escapeSingleQuotes = 1; };
},
{
titleImage = "NSUser";
titleSymbol = "person.fill";
titleFormatting = { formatString = "From or To “${received.for}”"; separator = " or "; };
queryFormatting = { formatString = "#any-address.address = '${received.for}'"; separator = " or "; escapeSingleQuotes = 1; };
},
);
};
};
}
</code></pre>
<p dir="auto">--<br>
Benny</p>
</div>
</div>
</body>
</html>