• 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: Recipients in Mail.app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recipients in Mail.app


  • Subject: Re: Recipients in Mail.app
  • From: John Delacour <email@hidden>
  • Date: Tue, 24 Jun 2003 23:59:20 +0100
  • Mac-eudora-version: 6.0a23

At 5:17 pm -0400 24/6/03, Marc K. Myers wrote:

I'm writing a script to generate a message in Mail.app, based on Apple's Create New Message.scpt. According to the Event Log everything is working fine. I get an entry:

"make new to recipient at end of every to recipient of outgoing message id 48555296 with properties {name:"Jane Doe", address:" email@hidden"}"

The problem is that the recipient(s) never get into the message. The "To:" line is empty!

Frustrating isn't it! Try this:

tell application "Mail"
set _message to make outgoing message with properties {visible:true}
tell _message
set r1 to {name:"me", address:"me@home"}
make to recipient at end with properties r1
end
end

I do hope they've replaced the team that is responsible for this mess.

JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Recipients in Mail.app
      • From: "Marc K. Myers" <email@hidden>
References: 
 >Recipients in Mail.app (From: "Marc K. Myers" <email@hidden>)

  • Prev by Date: Halting a Script
  • Next by Date: Re: Open file using Creator
  • Previous by thread: Re: Recipients in Mail.app
  • Next by thread: Re: Recipients in Mail.app
  • Index(es):
    • Date
    • Thread