• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
displaying url messages in the Body field of Eudora
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

displaying url messages in the Body field of Eudora


  • Subject: displaying url messages in the Body field of Eudora
  • From: Tim <email@hidden>
  • Date: Mon, 13 Sep 2004 15:50:20 -0700

Hi,

I have a script that will upload dropped files to a ftp server.  I
have that part working.  Now I need to also create an email message
that will provide http links to those files.

the root path is always the same

for example: http://www.mydomain.com/dirforfiles/

I need to also take into account that multiple file paths may need to
be inserted in the body message (when someone drops more than one file
onto the applescript)

here is the code below.  I can't even get a simple text message to
appear in body of the message - although the code below also includes
a finder hack that takes just the 'filename' and appends it to the
root path for the http server.

so basically what I want to do is get the filename for each dropped
file and then append it to the root http path and then insert it in
the body of the message.

the error message that I get is this:

Can't get <<class eBod>> of <<class euMS>> 1 of <<class euMS>> id
1.238271O86E+9 of <<class euMB>> "out" of application "Eudora".
Access not allowed.

code ========


        tell application "Eudora" to tell (make message at end of mailbox "out")
             attach to documents listofFiles
             set field "subject" to ("Subject")
            set field "from" to ("email@hidden")
              repeat with i in listofFiles
                    tell application "Finder"
                              set filename to name of i
                           set nameList to {filename}
                     end tell
               end repeat

                set the bodyText to "file can also be downloaded
here:<br>http://www.mydomain.com/dirforfiles/"; & nameList
             set bodyText to body of front message

    end tell
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: displaying url messages in the Body field of Eudora
      • From: Rob Jorgensen <email@hidden>
    • Re: displaying url messages in the Body field of Eudora
      • From: Sander Tekelenburg <email@hidden>
  • Prev by Date: Re: Digital Sigs (was IS: ATTN: List Mom: Unnecessary smime attachments)
  • Next by Date: Re: Digital Sigs (was IS: ATTN: List Mom: Unnecessary smime attachments)
  • Previous by thread: Re: Entourage E-mail - HTML Question
  • Next by thread: Re: displaying url messages in the Body field of Eudora
  • Index(es):
    • Date
    • Thread