• 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: NSMailDelivery & Apple Help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMailDelivery & Apple Help


  • Subject: Re: NSMailDelivery & Apple Help
  • From: Ricky Sharp <email@hidden>
  • Date: Fri, 1 Dec 2006 14:46:07 -0600


On Dec 1, 2006, at 1:32 PM, Jim Puls wrote:


On Dec 1, 2006, at 8:03 AM, z wrote:


I've ony Mail installed on my Mac and the mailto: scheme works fine. However, need to send text from the textView window to Mail with attributes (e.g. color), so I used - deliverMessage: theMessage headers: headerDict format: NSMIMEMailFormat protocol: scheme which compiles fine, but doesn't launch Mail.
I've the Msg.framework in my appl. and .h file


I'd appreciate suggestions.


NSMailDelivery doesn't launch Mail, it directly sends the message. I suppose the docs are a bit misleading on this, but the only API- based way to launch Mail with a compose window is by opening a mailto: URL or by dragging a file to its dock tile.


I believe the best solution to your problem (if you actually want to put styled text in a Mail compose window programmatically) is to use AppleScript.

<http://developer.apple.com/qa/qa2001/qa1018.html>

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSMailDelivery & Apple Help (From: "z" <email@hidden>)
 >Re: NSMailDelivery & Apple Help (From: Jim Puls <email@hidden>)

  • Prev by Date: Re: NSImage TIFFRepresentation memory leak
  • Next by Date: drawing text onto an NSImage
  • Previous by thread: Re: NSMailDelivery & Apple Help
  • Next by thread: Accessor question
  • Index(es):
    • Date
    • Thread