Quinn's ICconfig: setting News Server
Quinn's ICconfig: setting News Server
- Subject: Quinn's ICconfig: setting News Server
- From: "Paul Popovich" <email@hidden>
- Date: Thu, 16 May 2002 10:25:31 -0400
Hey Guys,
I'm using InternetConfig API to set up email/news properties.
Two questions:
1. I'm getting everything set successfully except the NNTP server (News
server),
//get a news server value from my list
CFDictionaryGetValueIfPresent(pList, CFSTR("newsServer"),
&newsserver);
//convert to pascal string
plStringPtr = CFStringGetPascalStringPtr(newsserver, 0);
//get string length
size = PLstrlen(plStringPtr);
//set the actual value
osErr = ICSetPref(icInstance, kICNNTPHost, kICAttrNoChange,
plStringPtr, size);
if (osErr == noErr)
{
CFShow(CFSTR("successfully set News Server") );
}
It doesn't give me a 'false' here, so it seems like everything is fine,
but the value never
reflects in the Internet config panel. Username and password are there,
but News server
itself is strangely absent.
2. Quinn's Internet Config appears to set up successfully the general IC
panel, and
Internet Explorer is reading from it just fine. But the default mail
client does not appear to.
Is that a valid behavior, or is there a bug in my email client?
Regards,
Paul.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.