Is there any way to run a script whenever the user tries to send mail? I'm particularly interested in ensuring that outbound mail doesn't have a blank subject line.

Solutions that involve plug-ins are welcome!

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

It looks like there's no easy way to do this via AppleScript, however there's a plugin that warns in case of blank subject, it's Subjectivity. It works only with Tiger, since Leopard and Snow Leopard's Mail.app warns you if you leave subject blank.

I found this blog post on writing Mail plugins, however I didn't try to write one.

link|improve this answer
It works. And the source is nice, easy to read Python code, which I think I can use for other kinds of scripting. – Charles Stewart May 31 '10 at 8:54
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.