powermail-discuss Digest #3029 - Wednesday, April 17, 2013

  Cannot get part of emailing script to work: to recipient and cc recipient
          by "PM FT" <[email protected]>
  Re: Cannot get part of emailing script to work: to recipient and cc recip
          by "PowerMail Engineering" <[email protected]>


----------------------------------------------------------------------

Subject: Cannot get part of emailing script to work: to recipient and cc 
recipient
From: "PM FT" <[email protected]>
Date: Tue, 16 Apr 2013 19:33:14 +0100


Hello

Just moved from Mailsmith to PowerMail. I am adapting the email scripts to work 
for me. I am having problems with setting the "to recipient" and "cc recipient".
I was using the snippets from CTMdev to add to the general email appleScript:

This will only show Mr Bar in the recipient list., at "To recipient". There is 
no "cc recipient":
{subject:"Hello!", recipient:{{recipient type:cc recipient, address:{display 
name:"Mr Foo", address:"[email protected]>"}}, "Mr Bar <[email protected]>"}}

This will show Mr Bar and Mr Foo both as "to recipient":
recipient:{"Mr Foo <[email protected]>", "Mr Bar <[email protected]>"}}

and a similar one will make both "cc recipient"

Is there any way I can have both a "to recipient" and a "cc recipient" in my 
applescript?

Thanks for any help.




----------------------------------------------------------------------

Subject: Re: Cannot get part of emailing script to work: to recipient and cc 
recipient
From: "PowerMail Engineering" <[email protected]>
Date: Wed, 17 Apr 2013 09:34:28 +0200

PM FT wrote:

>I am having problems with setting the "to recipient" and "cc recipient".

Try this:

make new message with properties {subject:"Hello!", recipient:{{recipient 
type:cc recipient, address:{display name:"Mr Foo", email 
address:"[email protected]"}}, {recipient type:to recipient, address:{display 
name:"Mr Bar", email address:"[email protected]"}}}}


Jérôme - CTM Engineering


---------------------------------------------------------------------
   "FoxTrot is way better and faster than Spotlight and seriously more
    usable. With around 200000 docs on my 60Gig drive, using Spotlight
    is just hopeless.
    Searches with FoxTrot are just instantaneous and you can view them in
    all sorts of ways. The preview is just wonderful."
  FoxTrot Personal Search user comment on www.versiontracker.com


         Download a demo version from www.foxtrot.ch
---------------------------------------------------------------------


----------------------------------------------------------------------
End of powermail-discuss Digest

Reply via email to