I'm trying to create mail with py-appscript (AppleScript interface for python). I tried following code,
from appscript import *
mail = app('Mail')
msg = mail.make(new=k.outgoing_message,
with_properties={'visible':True,
'content':"hello",
'subject':"appscript",
'sender':'[email protected]'
})
but got following error messages, and I couldn't find out any information for that...
CommandError: Command failed:
OSERROR: -1701
MESSAGE: Some parameter is missing for command.
COMMAND: app(u'/Applications/Mail.app').make('outgoing_message', with_properties={'content': 'hello', 'visible': True, 'sender': '[email protected]', 'subject': 'appscript'})
Suggestions, please?