• 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: Jim Puls <email@hidden>
  • Date: Fri, 1 Dec 2006 11:32:12 -0800


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.

-> jp

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: NSMailDelivery & Apple Help
      • From: Ricky Sharp <email@hidden>
References: 
 >NSMailDelivery & Apple Help (From: "z" <email@hidden>)

  • Prev by Date: Re: NSCursor problem
  • Next by Date: Re: Sorting NSTableView on two keys
  • Previous by thread: NSMailDelivery & Apple Help
  • Next by thread: Re: NSMailDelivery & Apple Help
  • Index(es):
    • Date
    • Thread