If the outgoing filters fire prior to the email being sent then the
AppleScript I recently posted will change content of a message based
upon a regex search/replace.

-- 
Andy Fragen

On Wed, Aug 2, 2006, Dave Nathanson said:

>Well, you could make a Mail Filter and tell it to filter outgoing mail. 
>If the message contains "my work sig" then... 
> Aw nevermind, the Mail Filter actions don't have a "don't send" command.
>That would be great. Yeah, to do this right we need these Filter Actions:
>* Don't send
>* find/replace text (AAAA with BBBB)
>* Send
>
>Best,
> Dave Nathanson
> Mac Medix
>
>in reply to ([EMAIL PROTECTED]), Wayne Brissette's message of 8:51
>AM, 8/2/06
>
>>>I see there's a 'text signature' in the Applescript dictionary, so I
>>>suppose you could create an outgoing filter on the 'To' field, which
>>>would run an appropriate Applescript. But I can't help with the script,
>>>sorry. (and I do mean 'can't', not won't :)
>>
>>The problem as I remember it is that the filters don't happen until after
>>the email has been composed and is ready to be shipped off. The only way
>>to fix this would be to create an AppleScript where you ran it BEFORE you
>>sent an email. Something that would maybe created the document, then you
>>could simply click send.
>>
>>Otherwise your only real option is to setup an account that is different
>>and where you have a specific signature for that account. This is
>>available in the Accounts Identity area.
>>
>>Wayne
>>
>
>
>
>






Reply via email to