Message Framework and Internet Config
Message Framework and Internet Config
- Subject: Message Framework and Internet Config
- From: "Peter Sichel" <email@hidden>
- Date: Mon, 12 Dec 2005 09:48:03 -0500
Several of my Apps use Apple's message framework (NSMailDelivery) to
send Email notifications. Based on recent customer reports, I'm trying
to resolve the best way to configure this with the desired SMTP server
and Email address.
Background
==========
As I understand it, The Internet Config system isn't gone in OS X, but
built-in as part of the System Configuration Framework. There's still a
mostly compatible Carbon API for accessing this information defined in
"InternetConfig.h" .
In Mac OS X 10.2 and earlier, Apple provided a UI for configuring these
settings as an Email tab of the Internet Preferences Panel. Starting in
10.3 (Panther), it appears Apple changed the message framework to use
Mail.app to send messages or use the Mail.app settings. This has the
advantage that the user doesn't need to go to a preferences panel to
configure anything else to use the built-in message framework, and the
settings change automatically with their Email program if they move to a
different environment.
Since not everyone uses Mail.app, I added a preference pane in my
applications to examine and modify the Internet Config settings which
seems to have solved the problem for some users.
My latest concern is a customer report that the Mail.app settings (SMTP
server and Email address) are overriding the Internet Config settings he
specified in my apps preference panel. He even reports that Internet
Explorer shows the same Email settings he entered for IPNetMonitorX, but
they are not being used. Reviewing NSMailDelivery.h, I see that
"NSSendmailDeliveryProtocol" is no longer supported.
Question
========
What is the status of Internet Config shared Email Settings in Mac OS X
Panther and Tiger versus Mail.app?
- Are the Internet Config settings ignored in deference to Mail.app when
the application is available and configured?
- Is there some preference or account name used to share the Mail.app
settings?
- How does NSMailDelivery function if Mail.app is not installed or configured?
Thanks for any insight.
- Peter
_______________________________________________
http://www.macgroup.com/mailman/listinfo/smartfriends
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden