• 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
Re: Mail.app automation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail.app automation


  • Subject: Re: Mail.app automation
  • From: John Delacour <email@hidden>
  • Date: Sun, 7 Sep 2003 21:34:05 +0100
  • Mac-eudora-version: 6.1a2

At 10:30 am -0700 7/9/03, Michelle Steiner wrote:

and I don't know why you want to do it in this case.

To forward the Nigerian Spam, with full headers, to the two government agency mail addresses set up to receive copies of the spam.

Ah! In that case I'd do it another way. This gives the full raw source, which is what they'll be looking for. If you want the body of the message to be plain readable stuff, then there's another way.

tell application "Mail"
activate
set _original to item 1 of (get selection)
set _props to {visible:true, content:source of _original}
set _forwarded to make outgoing message with properties _props
tell _forwarded
set _to to {name:"jd", address:"email@hidden"}
make to recipient at end with properties _to
save -- or send
end tell
move _original to mailbox "Deleted Messages"
end tell


JD


.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Mail.app automation
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: Mail.app automation (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Old Filemaker question
  • Next by Date: Re: Old Filemaker question
  • Previous by thread: Re: Mail.app automation
  • Next by thread: Re: Mail.app automation
  • Index(es):
    • Date
    • Thread