Message.framework bugs?
Message.framework bugs?
- Subject: Message.framework bugs?
- From: Alex Rice <email@hidden>
- Date: Wed, 7 Jan 2004 12:03:14 -0700
My app uses Message.framework to send email notifications. An end user
with 10.3 (upgraded from 10.2; and 10.1) has some problems that seem
like Message.framework bugs. 4 questions/problems follow:
1) [NSMailDelivery hasDeliveryClassBeenConfigured] always returns NO
for this user.
The user has configured their Mail.app preferences with an SMTP server.
I double-checked this by having them inspect Mail.app's preferences. It
reports a valid SMTP server for the user.
# defaults read com.apple.mail DeliveryAccounts
(
{
AccountType = SMTPAccount;
Hostname = "ns-mx.uiowa.edu";
ShouldUseAuthentication = NO;
}
)
Just on a whim, I rewrote my code to ignore [NSMailDelivery
hasDeliveryClassBeenConfigured], to try to send mail anyways, and then
sending mail worked. Is [NSMailDelivery hasDeliveryClassBeenConfigured]
known to be unreliable?
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?
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.
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?
Alex Rice <email@hidden> | Mindlube Software |
<
http://mindlube.com>
what a waste of thumbs that are opposable
to make machines that are disposable -Ani DiFranco
_______________________________________________
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.