My mistake; sorry. :-( For some reason I thought you wanted to strip HTML
even though I read the entire thread!
Try this script by Paul Berkowitz, which was made for forwarding spam but
should work in the way you want:
----------Forward Spam-------------------
property spamDumpBox : ""
property sendNow : true
if spamDumpBox "" then -- first time only
display dialog "Enter the email address to forward:" default answer ""
with icon 1
set spamDumpBox to text returned of result
display dialog "Send as soon as they are ready, or
leave them in the Outbox until the next Send & Receive All schedule?"
buttons {"Cancel", "Leave in Outbox", "Send Them"} default button 3 with
icon 1
if button returned of result "Cancel" then -- if non-English must
specify
return
else if button returned of result "Leave in Outbox" then
set sendNow to false
else
set sendNow to true
end if
end if
tell application "Microsoft Entourage"
try
set theMsgs to (current messages)
on error
beep
display dialog "You must first select a message in the message
pane."
return
end try
repeat with theMsg in theMsgs
my ProcessMessages(theMsg)
end repeat
if sendNow then send -- just one connection to send all
end tell
to ProcessMessages(theMsg)
tell application "Microsoft Entourage"
set {origSubject, origHeaders} to theMsg's {subject, headers}
set fwdMsg to forward theMsg to spamDumpBox without opening window
set fwdContent to content of fwdMsg
set content of fwdMsg to (origSubject & return & return &
origHeaders & return & return & fwdContent)
send fwdMsg with sending later -- puts in outbox
end tell
end ProcessMessages
------end script--------------------
On 11/29/02 10:14 AM, "Laurie A. Duncan" <[EMAIL PROTECTED]> wrote:
> I do use Allen's Strip HTML script - for stripping HTML. I don't see where
> it helps me forward email with full headers though.
>
> Laurie
>
> On 11/29/02 11:01 AM, [EMAIL PROTECTED] typeth:
>
>> Try using Allen Watson's "Strip HTML" script, available free from
>> AppleScript Central:
>> <http://www.applescriptcentral.com/ftpinwin.php?id=311>
>>
>> On 11/29/02 8:20 AM, "Laurie A. Duncan" <[EMAIL PROTECTED]> wrote:
>>
>>> My apologies for neglecting to say that I am using Erage X 10.1.1.
>>>
>>> Laurie
>>>
>>> On 11/29/02 4:20 AM, [EMAIL PROTECTED] typeth:
>>>
>>>> On 11/28/02 8:13 PM, Laurie A. Duncan wrote:
>>>>
>>>>> I checked applescriptcentral.com, but didn't find anything with a search
>>>>> for
>>>>> "header", ...
>>>> <clip>
>>>>> Can anyone help me out with a "forward with headers" script?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Laurie
>>>>
>>>> Laurie,
>>>>
>>>> I use -- and also don't see on ASC -- the script "Forward with All Headers"
>>>> by Phil Kearney. The only P. Kearney script I find there is one co-written
>>>> with Allen W.
>>>>
>>>> I believe I downloaded this from ASC years ago, for Outlook, but I can't be
>>>> sure if that memory is correct.
>>>>
>>>> I will send you that original .sit file, and just hope that is not a big
>>>> "no-no" :)
>>>>
>>>> There also is a script called "rfc934" for Outlook Express 4 (remember
>>>> that?) that did the same thing. I can't find that online either (it is by
>>>> R. Shapiro and may have come with OE...?)
>>>>
>>>> Anyhoo, that doesn't compile for E2001 without modification, so if you want
>>>> to play with that also, you can let me know when I send the above.
>>>>
>>>> In the meantime, I will encourage Eric to re-post the Forward with All
>>>> Headers at ASC.
>>>>
>>>> HTH,
>>>>
>>>> Gary
>>>>
>>>
>
--
Mickey Stevens
Microsoft Mac MVP
The Entourage Help Page: <http://www.entourage.mvps.org/>
--
To unsubscribe:
<mailto:[EMAIL PROTECTED]>
archives:
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>