Re: [MlMt] Adding header fields to message view (was " attachment in headers display")
On 24 Apr 2019, at 9:36, Michael Nietzold wrote: Since i Like to have the "source mailbox" as row in the header section of a message: To combine both ideas it would be nice to have a generic setting for additional header rows where a user can add one or more rows with meta data from the message (or some of the possible calculations) Von meinem iDingens gesendet... Eudora for Mac took the opposite approach: it defined a set of "boring" header fields that it omitted from the message view. A message could always be viewed in raw form, which Eudora called "Blah Blah Blah" which would show everything. The set of boring header fields was available after enabling the "Esoteric Settings" option, which caused a preference pane called "Boring Headers" to be available. This was a list of header field prefixes, one per line, that Eudora would omit from a message display (except in "Blah Blah Blah" view). Header fields not in the list were displayed. It would be good if MailMate had a UI mechanism for choosing which header fields are displayed in message views. (By the way, Eudora had a large set of hidden preferences that were not part of the primary UI, but could be edited by use of the "X-Eudora-Setting" URI. You'd have the string where "xxx" was the setting number to change somewhere in a Eudora message (you could type it in to a composition window or have it saved as a stationery or send it to yourself -- I had a stationery (permanent draft message) with the full list) and Eudora would recognize it as a clickable URI. Clicking it brought up a primitive control that listed a brief text description of the setting, showed the current value, and let you set a new value. It was a serviceable kluge allowing end users to change hidden settings without risk of messing up a critical file. For the full list, see: https://web.archive.org/web/20050924173435/www.eudora.com/techsupport/mac/download/X-Eudora-Settings.txt) --Randall ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Adding header fields to message view (was " attachment in headers display")
The main file you need to override is /Applications/MailMate.app/Contents/Resources/Layouts/headersFormatting.plist so you need to create ~/Library/Application Support/Resources/Layouts/headersFormatting.plist. You should start with a copy of the original and adapt it. You might also need to supplement /Applications/MailMate.app/Contents/Frameworks/OakMIME.framework/Versions/A/Resources/specifiers.plist which is done by adding a file with additional parser definitions at ~/Library/Application Support/MailMate/Resources/specifiers.plist Thanks for the tip on where/how to override the specifiers file. For my circumstance, I believe I will need that as well as the formatting file. Should be fun! This actually worked really well and was easy. Although I added a shorthand to the specifiers.plist file for ‘delegate’, I’m not sure I actually needed it, as the headers field ‘sender’ was already available to me in that file, and I didn’t actually reference the delegate shorthand in the headersFormatting.plist when I started working in there. I basically just copied the section for “From” in the headersFormatting.plist file and changed all instances of “From” and “from” in the new section to “Sender” and “sender” and restarted MailiMate. Now when I am viewing a message that has both a from and a sender field in the header, they are both displayed and in a standard message with just the from field, only that is displayed. The conditional logic behind it must be elsewhere. Simple and brilliant customization. Thanks for the pointer! v ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Adding header fields to message view (was " attachment in headers display")
Your file is very different from mine. Are you using the 1.x series of MM or the 2.x beta version? I’m using the 2.x beta and suspect that’s the reason for so many differences throughout the file. v On 24 Apr 2019, at 13:03, Zvi Biener wrote: I've attached a copy of headersFormatting.plist, which controls the headers display. I'm sure it is an awful hack (I'm not a programmer). But it does display the source mailbox (as "Folder"), as long as your select View->Headers->list. You can emulate that part of the code. Zvi On 24 Apr 2019, at 12:36, Michael Nietzold wrote: Since i Like to have the "source mailbox" as row in the header section of a message: To combine both ideas it would be nice to have a generic setting for additional header rows where a user can add one or more rows with meta data from the message (or some of the possible calculations) Von meinem iDingens gesendet... Am 24.04.2019 um 17:30 schrieb Verdon Vaillancourt : On 24 Apr 2019, at 11:23, Randall Gellens wrote: On 24 Apr 2019, at 7:49, Verdon Vaillancourt wrote: Related to this, but not concerning attachments… Is there a low-level way to hack what is displayed in the header area of a message view? Specifically, the company I work for uses gmail corporate, and a lot of ‘delegation’ access to special accounts. In other words, I can login to my account and have access to send and receive on behalf of some generic accounts like support@ and info@ and so on. People using the gmail browser client can see what delegate was sending on behalf of that account. I of course cannot see that in MailMate. The delegate information is an extra field in the message’s header. You want to add a specific header field to the set that is shown in a message view? That seems very useful. I don't see an easy way to do that. Perhaps someone else on the list can answer. (It might be possible to edit the MmMessagesWebView/stylesheet.css, as mentioned in https://manual.mailmate-app.com/customization, but I don't know and have never done it). The View -> Show Raw Message command will show all header fields, but likely this isn't what you want. --Randall Thank you for the reference to the customization page. I’d forgotten that and will look there. Your understanding of the scenario is exactly right. Also thanks for changing the subject of the message. I should know better ;-) — Verdon ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Adding header fields to message view (was " attachment in headers display")
On 24 Apr 2019, at 13:17, Bill Cole wrote: On 24 Apr 2019, at 11:30, Verdon Vaillancourt wrote: On 24 Apr 2019, at 11:23, Randall Gellens wrote: On 24 Apr 2019, at 7:49, Verdon Vaillancourt wrote: Related to this, but not concerning attachments… Is there a low-level way to hack what is displayed in the header area of a message view? Specifically, the company I work for uses gmail corporate, and a lot of ‘delegation’ access to special accounts. In other words, I can login to my account and have access to send and receive on behalf of some generic accounts like support@ and info@ and so on. People using the gmail browser client can see what delegate was sending on behalf of that account. I of course cannot see that in MailMate. The delegate information is an extra field in the message’s header. You want to add a specific header field to the set that is shown in a message view? That seems very useful. I don't see an easy way to do that. Perhaps someone else on the list can answer. (It might be possible to edit the MmMessagesWebView/stylesheet.css, as mentioned in https://manual.mailmate-app.com/customization, but I don't know and have never done it). The View -> Show Raw Message command will show all header fields, but likely this isn't what you want. --Randall Thank you for the reference to the customization page. I’d forgotten that and will look there. Your understanding of the scenario is exactly right. Also thanks for changing the subject of the message. I should know better ;-) The main file you need to override is /Applications/MailMate.app/Contents/Resources/Layouts/headersFormatting.plist so you need to create ~/Library/Application Support/Resources/Layouts/headersFormatting.plist. You should start with a copy of the original and adapt it. You might also need to supplement /Applications/MailMate.app/Contents/Frameworks/OakMIME.framework/Versions/A/Resources/specifiers.plist which is done by adding a file with additional parser definitions at ~/Library/Application Support/MailMate/Resources/specifiers.plist Thanks for the tip on where/how to override the specifiers file. For my circumstance, I believe I will need that as well as the formatting file. Should be fun! v ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Adding header fields to message view (was " attachment in headers display")
On 24 Apr 2019, at 11:30, Verdon Vaillancourt wrote: On 24 Apr 2019, at 11:23, Randall Gellens wrote: On 24 Apr 2019, at 7:49, Verdon Vaillancourt wrote: Related to this, but not concerning attachments… Is there a low-level way to hack what is displayed in the header area of a message view? Specifically, the company I work for uses gmail corporate, and a lot of ‘delegation’ access to special accounts. In other words, I can login to my account and have access to send and receive on behalf of some generic accounts like support@ and info@ and so on. People using the gmail browser client can see what delegate was sending on behalf of that account. I of course cannot see that in MailMate. The delegate information is an extra field in the message’s header. You want to add a specific header field to the set that is shown in a message view? That seems very useful. I don't see an easy way to do that. Perhaps someone else on the list can answer. (It might be possible to edit the MmMessagesWebView/stylesheet.css, as mentioned in https://manual.mailmate-app.com/customization, but I don't know and have never done it). The View -> Show Raw Message command will show all header fields, but likely this isn't what you want. --Randall Thank you for the reference to the customization page. I’d forgotten that and will look there. Your understanding of the scenario is exactly right. Also thanks for changing the subject of the message. I should know better ;-) The main file you need to override is /Applications/MailMate.app/Contents/Resources/Layouts/headersFormatting.plist so you need to create ~/Library/Application Support/Resources/Layouts/headersFormatting.plist. You should start with a copy of the original and adapt it. You might also need to supplement /Applications/MailMate.app/Contents/Frameworks/OakMIME.framework/Versions/A/Resources/specifiers.plist which is done by adding a file with additional parser definitions at ~/Library/Application Support/MailMate/Resources/specifiers.plist -- Bill Cole b...@scconsult.com or billc...@apache.org (AKA @grumpybozo and many *@billmail.scconsult.com addresses) Available For Hire: https://linkedin.com/in/billcole ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Adding header fields to message view (was " attachment in headers display")
I've attached a copy of headersFormatting.plist, which controls the headers display. I'm sure it is an awful hack (I'm not a programmer). But it does display the source mailbox (as "Folder"), as long as your select View->Headers->list. You can emulate that part of the code. Zvi On 24 Apr 2019, at 12:36, Michael Nietzold wrote: Since i Like to have the "source mailbox" as row in the header section of a message: To combine both ideas it would be nice to have a generic setting for additional header rows where a user can add one or more rows with meta data from the message (or some of the possible calculations) Von meinem iDingens gesendet... Am 24.04.2019 um 17:30 schrieb Verdon Vaillancourt : On 24 Apr 2019, at 11:23, Randall Gellens wrote: On 24 Apr 2019, at 7:49, Verdon Vaillancourt wrote: Related to this, but not concerning attachments… Is there a low-level way to hack what is displayed in the header area of a message view? Specifically, the company I work for uses gmail corporate, and a lot of ‘delegation’ access to special accounts. In other words, I can login to my account and have access to send and receive on behalf of some generic accounts like support@ and info@ and so on. People using the gmail browser client can see what delegate was sending on behalf of that account. I of course cannot see that in MailMate. The delegate information is an extra field in the message’s header. You want to add a specific header field to the set that is shown in a message view? That seems very useful. I don't see an easy way to do that. Perhaps someone else on the list can answer. (It might be possible to edit the MmMessagesWebView/stylesheet.css, as mentioned in https://manual.mailmate-app.com/customization, but I don't know and have never done it). The View -> Show Raw Message command will show all header fields, but likely this isn't what you want. --Randall Thank you for the reference to the customization page. I’d forgotten that and will look there. Your understanding of the scenario is exactly right. Also thanks for changing the subject of the message. I should know better ;-) — Verdon ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate { defaultFormatting = "shortFormatting"; shortFormatting = { children = ( { formatString = "${#signed:+✓}"; suffix = { string = " "; }; singleClick = { selector = "showDetails:"; }; toolTip = { formatString = "This message is signed."; }; }, { formatString = "${#encrypted:+}"; suffix = { string = " "; }; singleClick = { selector = "showDetails:"; }; toolTip = { formatString = "This message is encrypted."; }; }, { separatorString = ""; sharedPrefix = "##tags.tag"; children = ( { formatString = "${##tags.tag.#shortname}"; singleClick = { titleFormatting = { prefixString = "Tagged "; formatString = "“${##tags.tag.#name}”"; }; queryFormatting = { formatString = "##tags.tag = '${##tags.tag}'"; escapeSingleQuotes = 1; }; }; copyValues = ( { title = ''; valueFormatting = { formatString = '${##tags.tag.#name}'; }; }, { titleFormatting = 'Server Keyword (${##tags.tag})'; valueFormatting = { formatString = '${##tags.tag}'; }; }, ); }, ); }, { string = "“"; }, { formatString = "${subject.prefix}"; suffix = { string = " "; }; // link stuff },
Re: [MlMt] Adding header fields to message view (was " attachment in headers display")
Since i Like to have the "source mailbox" as row in the header section of a message: To combine both ideas it would be nice to have a generic setting for additional header rows where a user can add one or more rows with meta data from the message (or some of the possible calculations) Von meinem iDingens gesendet... > Am 24.04.2019 um 17:30 schrieb Verdon Vaillancourt : > >> On 24 Apr 2019, at 11:23, Randall Gellens wrote: >> >>> On 24 Apr 2019, at 7:49, Verdon Vaillancourt wrote: >>> >>> Related to this, but not concerning attachments… >>> >>> Is there a low-level way to hack what is displayed in the header area of a >>> message view? Specifically, the company I work for uses gmail corporate, >>> and a lot of ‘delegation’ access to special accounts. In other words, I >>> can login to my account and have access to send and receive on behalf of >>> some generic accounts like support@ and info@ and so on. People using the >>> gmail browser client can see what delegate was sending on behalf of that >>> account. I of course cannot see that in MailMate. The delegate information >>> is an extra field in the message’s header. >> >> You want to add a specific header field to the set that is shown in a >> message view? That seems very useful. I don't see an easy way to do that. >> Perhaps someone else on the list can answer. (It might be possible to edit >> the MmMessagesWebView/stylesheet.css, as mentioned in >> https://manual.mailmate-app.com/customization, but I don't know and have >> never done it). >> >> The View -> Show Raw Message command will show all header fields, but likely >> this isn't what you want. >> >> --Randall > > Thank you for the reference to the customization page. I’d forgotten that and > will look there. Your understanding of the scenario is exactly right. Also > thanks for changing the subject of the message. I should know better ;-) > > — Verdon > ___ > mailmate mailing list > mailmate@lists.freron.com > https://lists.freron.com/listinfo/mailmate ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Adding header fields to message view (was " attachment in headers display")
On 24 Apr 2019, at 11:23, Randall Gellens wrote: On 24 Apr 2019, at 7:49, Verdon Vaillancourt wrote: Related to this, but not concerning attachments… Is there a low-level way to hack what is displayed in the header area of a message view? Specifically, the company I work for uses gmail corporate, and a lot of ‘delegation’ access to special accounts. In other words, I can login to my account and have access to send and receive on behalf of some generic accounts like support@ and info@ and so on. People using the gmail browser client can see what delegate was sending on behalf of that account. I of course cannot see that in MailMate. The delegate information is an extra field in the message’s header. You want to add a specific header field to the set that is shown in a message view? That seems very useful. I don't see an easy way to do that. Perhaps someone else on the list can answer. (It might be possible to edit the MmMessagesWebView/stylesheet.css, as mentioned in https://manual.mailmate-app.com/customization, but I don't know and have never done it). The View -> Show Raw Message command will show all header fields, but likely this isn't what you want. --Randall Thank you for the reference to the customization page. I’d forgotten that and will look there. Your understanding of the scenario is exactly right. Also thanks for changing the subject of the message. I should know better ;-) — Verdon ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Adding header fields to message view (was " attachment in headers display")
On 24 Apr 2019, at 7:49, Verdon Vaillancourt wrote: Related to this, but not concerning attachments… Is there a low-level way to hack what is displayed in the header area of a message view? Specifically, the company I work for uses gmail corporate, and a lot of ‘delegation’ access to special accounts. In other words, I can login to my account and have access to send and receive on behalf of some generic accounts like support@ and info@ and so on. People using the gmail browser client can see what delegate was sending on behalf of that account. I of course cannot see that in MailMate. The delegate information is an extra field in the message’s header. You want to add a specific header field to the set that is shown in a message view? That seems very useful. I don't see an easy way to do that. Perhaps someone else on the list can answer. (It might be possible to edit the MmMessagesWebView/stylesheet.css, as mentioned in https://manual.mailmate-app.com/customization, but I don't know and have never done it). The View -> Show Raw Message command will show all header fields, but likely this isn't what you want. --Randall ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate