Re: Message.framework and user preferences
Re: Message.framework and user preferences
- Subject: Re: Message.framework and user preferences
- From: Marc Weil <email@hidden>
- Date: Thu, 24 Apr 2003 19:09:58 -0400
Actually, the Message framework is extremely limited in many ways. I wanted
to use it for my own project, but decided that it wasn't nearly powerful
enough for my needs. It can't even handle attachments! I actually ended up
writing my own methods for interacting with SMTP and POP3, as well as
different MIME encodings and character set changes.
IMO, doing it yourself will be much better in the long run. First off, you
get experience with several international standards (MIME, POP3, and SMTP or
ESMTP, namely), you learn how to connect to and communicate with remote
servers, and you get the overall satisfaction of receiving an e-mail sent
with your own program that includes advanced stylings and attachments. :-)
Unless you are just having automatic bug reports or information about your
program (for example, having your program email you when someone uses a
hacked serial number or the like so you can keep track of how many people
are doing it), I wouldn't recommend that anybody use the Message framework.
If you are feeling really adventerous, you could always attempt to figure
out how the EDMessage framework works (part of the EDFrameworks set,
http://www.mulle-kybernetik.com/software/EDFrameworks/ ) since the author
won't write any documentation for it for some reason (I already emailed him,
pleading for him to do so. He responded with some example code that was too
simple for my needs, and when I asked when he was planning on writing
documentation for it, he never responded). Or, like I said, you can write
your own system.
Good luck with that! Let me know if you need any help.
-- Marc Weil
On 4/24/03 4:53 PM, "Jeff Martirano" <email@hidden> wrote:
>
I have created an application that uses
>
Message.framework/NSMailDelivery.h to send email and it works for me,
>
but somewhat mysteriously.
>
>
Now I'm trying to figure out the rhyme and reason as to how the
>
framework works. After reading the defaults for my compiled application
>
I see all of the entries for accounts that I have in Mail.app. I
>
thought it was just supposed to read the preferences set in System
>
Preferences -> Internet -> Email, but obviously it is reading much
>
more than that to attain an email address from which to send. I have
>
one email address set in my Internet prefs, but it is not the one to
>
which the Message.framework defaults.
>
>
The NSMailDelivery.h header doesn't relay where it gets the info from
>
or which preferences or account settings have priority, it only seems
>
to verify that the information exists. I do not know if the framework
>
can get the account information from Eudora or Entourage, but I doubt
>
it.
>
>
Before I go shifting my preferences around and disabling accounts to do
>
some testing, does anybody have any good insight into this framework?
>
Is there a way to allow the user to specify which account they want to
>
use perhaps after the application reads from the plist?
>
>
Cheers,
>
>
Jeff
>
_______________________________________________
>
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.
_______________________________________________
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.