• 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: Set account of outgoing message in OE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set account of outgoing message in OE


  • Subject: Re: Set account of outgoing message in OE
  • From: Paul Berkowitz <email@hidden>
  • Date: Mon, 07 May 2001 01:41:22 -0700

On 5/6/01 11:38 PM, "Bart Visser" <email@hidden> wrote:

> I want to create a script that creates a new message with an other account
> than the default account. The part of creating the message is easy, but how
> can I let AS change the account?

Don't change it; set it the way you want at the beginning.

set theAccount to POP account "My Other Account" -- or IMAP account
set theContent to "some content or other"
make new outgoing message at out box folder with properties
{account:theAccount, subject:"Boo", content:theContent,
recipient:{address:"A B <abd@d.e>"}}

--or, if you want an open draft message on the screen
make new draft window with properties {account:theAccount,
subject:"Boo", content:theContent}

--
Paul Berkowitz


References: 
 >Set account of outgoining message in OE (From: Bart Visser <email@hidden>)

  • Prev by Date: Re: Sending commands to the finder
  • Next by Date: Re: Set account of outgoining message in OE
  • Previous by thread: Set account of outgoining message in OE
  • Next by thread: Re: Set account of outgoining message in OE
  • Index(es):
    • Date
    • Thread