Re: forwarding in Eudora
Re: forwarding in Eudora
- Subject: Re: forwarding in Eudora
- From: Christopher Stone <email@hidden>
- Date: Tue, 14 Oct 2003 15:33:51 -0500
At 07:37 -0600 10/14/2003, Robert Poland wrought:
tell application "Eudora"
set m to a reference to message -1 of mailbox 1
forward message m
set field "to" of m to "uce-ftc.gov"
queue message m
end tell
The forward message is created, but the "to" field is not filled in.
______________________________________________________________________
Hello Robert,
Emmanuel was perfectly right when he pointed out your reference mistake
(one which I've made a time or two). You have to reference the *new*
message when operating on *it*.
tell application "Eudora"
set mRef to a reference to message -1 of mailbox 1
set newMRef to forward message mRef
tell newMRef
set field "to" to "uce-ftc.gov"
queue
-- queue for (current date) -- immediate send
end tell
end tell
I'm not certain what you mean when you say Mailbox 1 is variable. It
should always reference the "In" mailbox.
If you're not already a member, you might consider joining the Eudora-Mac list:
<
mailto:email@hidden>
It has a far heavier concentration of Eudora Scripters than does the
AppleScript Users List.
Chris
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.