Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Move email to outbox using Apple script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Move email to outbox using Apple script



Hi,

When I try to move a mail into outbox using Mail.app, the mail gets delivered.

But, if I try using the below script:

tell application "Mail" to move myMessage to mailbox "Outbox"

The mail is moved to outbox, but it is not delivered. 

I need to enable/disable the mail account, or quit and relaunch the Mail.app application to deliver the message.

Is there a workaround to deliver the message in outbox without having to quit or enable/disable the account ?

- Deepak
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.