Title: Re: How to Control HTML Formatting?
On 2/19/02 6:25 AM, "Mac Carter" <[EMAIL PROTECTED]> wrote:

> Is there a way to turn HTML formatting OFF in Entourage for selected email
> addresses?  As far as I can tell, HTML formatting is fully ON or fully OFF
> with no way to select particular addresses.  Any suggestions?
>
Set up a rule with criteria specifying addresses for non-HTML. As Action, Run AppleScript:

    tell application "Microsoft Entourage"
        set theMsg to item 1 of (get current messages)
        set content of theMsg to (get content of theMsg as Unicode text)
    end tell

There's no going back to the HTML version this way. You could make a new non-HTML message and put the HTML one in the trash (to be fished out if necessary) by running this instead:

tell application "Microsoft Entourage"
    set theMsg to item 1 of (get current messages)
    set theSource to source of theMsg
    set theContent to content of theMsg as Unicode text
    make new incoming message at in box folder with properties {source:theSource, content:theContent}
    set read status of theMsg to read
    delete theMsg
end tell


That will put the non-HTML message in your local Inbox. I don't think it will be processed by any other rules there, however.

--
Paul Berkowitz

Reply via email to