• 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: sending mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sending mail


  • Subject: Re: sending mail
  • From: Tim Hewett <email@hidden>
  • Date: Tue, 16 Dec 2003 22:00:59 +0000

Check out the NSMailDelivery class (seems to be undocumented).
You will have to craft your own composer window but that should
be relatively simple. Then this class will send the mail for you.

Regards,

Tim.


On 16 Dec 2003, at 19:56, email@hidden wrote:

I'd like to allow the user of my app to send a block of text to
someone. Ideally, the Mail app would automatically be launched
and they'd find a normal "New Message" window with an empty To
line and a block of text already entered for them.

I thought that MacOS Services would be the answer. It's rather
simple to make a pasteboard and hand that off to the Mail service
for delivery. However, this seems to function in a really odd
way. The Mail app does not open a "New Message" window. Instead,
it creates a letter (after waiting 15-20 seconds) in the Drafts
folder that the user has to notice and then click to edit. This
hardly seems reasonable. Your average user is going to to wonder
why Mail was launched but no message appears.

Am I doing something wrong here? Is this really the expected
behavior? Is there another way to get the effect I want? Any
tips would be appreciated...

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

  • Follow-Ups:
    • Re: sending mail
      • From: Matt Gillette <email@hidden>
  • Prev by Date: Re: Freelance programming
  • Next by Date: Re: retain variables between classes
  • Previous by thread: Re: sending mail
  • Next by thread: Re: sending mail
  • Index(es):
    • Date
    • Thread