Re: Message.framework bugs?
Re: Message.framework bugs?
- Subject: Re: Message.framework bugs?
- From: Matt Gillette <email@hidden>
- Date: Wed, 7 Jan 2004 12:18:53 -0800
I had many of the same problems with Message.framework (plus some
others - secure email servers - so I ended up using Pantomime, and it's
working great for me). Also this was mentioned briefly in the archives,
although I remember it wasn't too clear to me.
Now for some answers :)
1) [NSMailDelivery hasDeliveryClassBeenConfigured] always returns NO
for this user.
I was getting the same bug. I found that message delivery only worked
if I didn't call this method (if I called it, but ignored the result,
it was still preventing my message from being sent).
2) The user reports that now sending of email via Message.framework
only works if Mail.app is set as their default mail reader.
Message.framework problem?
Don't know the answer to 2, but I think it all stems from where
Message.framework is getting the settings from since there is no longer
a preference for mail in System Configuration.
3) What is the correct method for the user entering their preferences
to get delivery-class-has-been-configured, or otherwise making sure
NSMailDelivery is going to work? Since there is no error reporting- it
would at least be good to know if it is likely to succeed.
When you send a message, it return a bool if it sent correctly. I use a
button to allow the user to send a test email to see if the preferences
were set up correctly. This will alert the user if a configuration is
incorrect.
4) Why are the email preferences now moved from the System Prefs
panels to Mail.app's preferences? That's is a annoying thing about
Panther, from my point of view, because NSMailDelivery suggests there
is supposed to be a system preference for the SMTP server and email
address. Is there some other way to specify the mail prefs- and have
them work if Mail.app is not the default mail client?
There are some undocumented methods like setAccount (use class dump)
but you can never be sure if those will still work after an update to
the OS (plus no documentation on them). I really recommend looking at
Pantomime to simplify things.
Matt
_______________________________________________
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.