• 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: PowerMail: Sending and CCing to Messrs Foo & Bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PowerMail: Sending and CCing to Messrs Foo & Bar


  • Subject: Re: PowerMail: Sending and CCing to Messrs Foo & Bar
  • From: Marion Dickten <email@hidden>
  • Date: Wed, 17 Apr 2013 11:32:12 +0200

Hello,

set msg to make new message with properties {account:"Moi", status:draft, subject:"Foo4", content:return & return & "Herewith this document:" & return & return &", recipient:{{recipient type:cc recipient, address:{"Mr Foo <email@hidden>"}}, recipient:{{recipient type:to recipient, address:{"Mr Bar <email@hidden>"}}}}} 

I also don't know anything about PowerMail. However, I suggest the problem might be that you are setting the property named recipient twice. First you set it to Mr Foo, then you reset it to Mr Bar. Without knowing anything about it, I think this cannot work. I am astonished it compiles.
What I'd try in your situation would be to say

recipient: {{recipient type: cc recipient, address:{"Mr Foo <email@hidden>"}}, {recipient type:to recipient, address:{"Mr Bar <email@hidden>"}}

... since the recipient property is obviously a list. I find no other way to explain the double braces.

Then there is the fact that the property is named recipient, in the singular. That makes me suspicious. Of course it may not mean anything, depending on the native tongue and the diligence of the developers of PowerMail, but it might mean that this property is only to be used it you want one recipient only. I agree this doesn't sound likely, but stranger things have happened.

Hope this helps,
Marion
 _______________________________________________
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

  • Prev by Date: Re: do shell script, curl and cookies
  • Next by Date: Re: do shell script, curl and cookies
  • Previous by thread: Re(2): PowerMail: Sending and CCing to Messrs Foo & Bar
  • Next by thread: Re: Re(2): PowerMail: Sending and CCing to Messrs Foo & Bar
  • Index(es):
    • Date
    • Thread