Re: Prepare an attachment on Eudora
Re: Prepare an attachment on Eudora
- Subject: Re: Prepare an attachment on Eudora
- From: Bill Briggs <email@hidden>
- Date: Mon, 4 Jun 2001 18:10:25 -0300
At 7:47 PM +0100 04/06/01, Alberto De La Torre wrote:
Can anyone tell me how can I prepare a new mail with Eudora
including a file as attachment for wich I know the path?
From something canned that was sitting here...
- web
tell application "Eudora"
set fromField to field "From" of last message of mailbox "In"
of mail folder ""
set fromName to (text from character 7 to -1 of fromField)
set newmessage to (make message at end of mailbox "out" of
mail folder "")
set field "To" of newmessage to fromName
set field "Subject" of newmessage to "What you wanted."
set field "" of newmessage to "as requested ..."
attach to newmessage documents "
Data:TECHNICAL:file.sit"
set preserve macintosh info of newmessage to true
save newmessage
close newmessage
queue newmessage
end tell