Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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!

share|improve this question
add comment

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.

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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