On 7 Oct 2025, at 14:58, Randall Gellens wrote:

> On 7 Oct 2025, at 10:44, — Malcolm Fitzgerald wrote:
>
>> Perhaps someone else here can offer a rule that formats incoming mail or 
>> that works on outgoing mail.
>
>> I did try adding a rule on the "Drafts" virtual mailbox: [ . . . ] However, 
>> it doesn't work as expected

It's possible to create user-defined checks on an outgoing message before it's 
sent, just like the attachment check; I have a number of checks that, e.g., 
warn me if I'm about to send a message from my personal email address to a work 
contact, and so on. The relevant file defining those checks is called 
messageVerifications.plist and it lives in ~/Library/Application 
Support/MailMate/Resources. For instance, here's a bit of mine that ensures 
auto-complete doesn't have me send mail to a no-longer-in-service address:

   {
        title = "She changed her email address";
        details = "so use [email protected] instead.";
        conditions = "#recipient ~ '[email protected]'";
      },

Wrap that in

        {

        verification = (

        {CHUNKS OF CODE LIKE THE ABOVE GO HERE},

        );

        }

being careful about where you use parens ( ) and where you use curly brackets { 
}, name and locate the file correctly, and you might be able to make it work? I 
forget where I found guidelines for formatting the conditions, but they're 
somewhere...

Shoshanna Green (she/her)
[email protected]
_______________________________________________
mailmate mailing list
Unsubscribe: https://lists.freron.com/listinfo/mailmate

Reply via email to