This is great advice. Thanks Shoshanna!
I also found the official description in the Manual on the Hidden
Preferences page here:
Custom message verifications
https://manual.mailmate-app.com/hidden_preferences#custom-message-verifications
Does anyone know if this plist file supports compound conditions? I
tried entering a few examples using the same format from the
Mailboxes.plist file. The simple conditions work fine, but the compound
ones are ignored. If not, is there another way to do an ALL or ANY
condition? For example, the verification matches if you are sending to a
random Gmail address, but not your own.
Thanks,
Alan
On 10/8/2025 4:54 PM, Shoshanna Green wrote:
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