Sending emails with attachments
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.