Re: Email from FM using Outlook
Re: Email from FM using Outlook
- Subject: Re: Email from FM using Outlook
- From: Anders Monsen <email@hidden>
- Date: Sat, 06 Jan 2001 17:21:37 -0600
Ah, I see now. I tested it and it works perfectly. Thanks!
>
From: Paul Berkowitz <email@hidden>
>
Date: Sat, 06 Jan 2001 14:47:15 -0800
>
To: Applescript-Users <email@hidden>
>
Subject: Re: Email from FM using Outlook
>
>
On 1/6/01 2:16 PM, "Anders Monsen" <email@hidden> wrote:
>
>
> tell application "Outlook Express"
>
> activate
>
> --send the email from POP Account {Outgoing Email account}?
>
> make new outgoing message at folder "Outbox" with properties ,
>
> {content:theContent, subject:theSubject, recipient:{address:mailTo,
>
> recipient type:to recipient}}
>
> end tell
>
>
>
tell application "Outlook Express"
>
activate
>
set theAccount to POP account "My Favorite Account"
>
make new outgoing message at folder "Outbox" with properties
>
{account:theAccount, content:theContent, subject:theSubject,
>
recipient:{address:mailTo, recipient type:to recipient}} -- all one line
>
>
end tell
>
>
>
You have to say 'POP account' or 'IMAP account' (check 'application'
>
elements in the dictionary). You probably know already that if you want to
>
include the display name it gets more complicated (see 'address' in the
>
dictionary).
>
>
--
>
Paul Berkowitz
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users