• 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 outgoining message in OE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set account of outgoining message in OE


  • Subject: Re: Set account of outgoining message in OE
  • From: Andy Wylie <email@hidden>
  • Date: Mon, 07 May 2001 21:10:37 +1200

on Mon, 07 May 2001 08:38:59 +0200 Bart Visser 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?

try changing the default account Bart

------------------------
tell application "Outlook Express"
set defAcc to default mail account
set default mail account to POP account id 5 --or POP account "string"
--do stuff
set default mail account to defAcc
end tell
_______________ Andy


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

  • Prev by Date: Re: Set account of outgoing message in OE
  • Next by Date: Re: making an AS applet into a background app?
  • Previous by thread: Re: Set account of outgoing message in OE
  • Next by thread: Info about AppleScript records
  • Index(es):
    • Date
    • Thread