• 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
Sending emails with attachments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sending emails with attachments


  • Subject: Sending emails with attachments
  • From: TACKEL <email@hidden>
  • Date: Tue, 11 Feb 2003 18:57:37 +0100

Hi all,

I've been working before with Message.Framework to send emails with attachments but now I'd like to open a new message window in the default email client with a file included as an attachment, so the user could check the mail before sending it.

I'm using NSWorkspace but don't know how to add the file as an attachment.


NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];

[[NSWorkspace sharedWorkspace] openURL: [NSURL URLWithString:@"mailto:email@hidden?subject=test&body=bodytest";]];

[pool release];


Thanks,
Tackel.
_______________________________________________
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.

  • Prev by Date: Re: Problems with NSSocketPort
  • Next by Date: Re: Converting four char code
  • Previous by thread: Re: WSMakeStubs code issues
  • Next by thread: help needed with OO concepts when copying
  • Index(es):
    • Date
    • Thread