Help with send Applescript command in Outlook 2011
Bobby Kansara
bobkans at microsoft.com
Mon Nov 1 15:05:32 MDT 2010
Hey all,
The following allows me to send mails, please let me know if this is not working for you:
set tmp to make new outgoing message with properties {subject:"subject", content:"body"}
make new recipient at tmp with properties {email address:{name:"Name", address:"email at somewhere.com"}}
send tmp
Thanks,
Bobby Kansara
Mac Outlook Test Team
bobkans at microsoft.com
-----Original Message-----
From: scriptoutlook-bounces at officeformachelp.com [mailto:scriptoutlook-bounces at officeformachelp.com] On Behalf Of Peter Litwinowicz
Sent: Monday, November 01, 2010 1:51 PM
To: Mailing list for discussion of scripting Outlook for Mac
Subject: Re: Help with send Applescript command in Outlook 2011
Of course I see now that someone else has also posted this bug. What a bummer, if I can't automatically send emails then Office for Mac 2011 is useless to me.
Pete
On 11/1/10 12:50 PM, "Peter Litwinowicz" <pete at revisionfx.com> wrote:
> I'm trying to move my Entourage 2008 scripts over and I'm successful
> at creating a new message.
>
> set newm to make new outgoing message with properties {subject: "my
> subject", content: "my text message"}
> make new to recipient at newm with properties {email address:
> {address"test at test.com"}
> open newm
> send newm
>
> The send command doesn't post an error in Applescript, but it doesn't
> send the message either. In Entourage 2008 I had to turn on an item in
> my preferences that allowed scripts to send emails. Is there a similar
> thing in Outlook 2011 that's not being displayed as an error message in Outlook?
>
> Note that if I click the "send" button on the displayed and open email
> message after the script finishes running, it will send successfully,
> so the email is set up properly. I really need to be able to send
> emails from scripts automatically.
>
> Help?
> Pete Litwinowicz
>
>
>
> _______________________________________________
> ScriptOutlook mailing list
> ScriptOutlook at host171.hostmonster.com
> http://host171.hostmonster.com/mailman/listinfo/scriptoutlook_officefo
> rmachelp
> .com
_______________________________________________
ScriptOutlook mailing list
ScriptOutlook at host171.hostmonster.com
http://host171.hostmonster.com/mailman/listinfo/scriptoutlook_officeformachelp.com
More information about the ScriptOutlook
mailing list