Re: Can NSMailDelivery be configured programmatically?
Re: Can NSMailDelivery be configured programmatically?
- Subject: Re: Can NSMailDelivery be configured programmatically?
- From: Derrick Bass <email@hidden>
- Date: Sat, 3 Jun 2006 14:54:09 -0500
On Jun 3, 2006, at 1:17 PM, Dominic Blais wrote:
$HOME/Library/Preferences/com.apple.mail.plist has information on
the hosts in the MailAccounts element.
Yeah, I noticed that. Will populating that element enable
NSMailDelivery? Still, I'm a little hesitant to go mucking with some
other application's preferences without a well-defined API for doing
so. What if there's a bug in my code and 6 months later the user
decides to try Mail and discovers it's completely broken?
Anyway, the application is not phoning home. It is facilitating
work on a group project that has some parts that require long
computations. So it performs a long task and then notifies
whomever the user wanted when the task is done, so that the next
person who needs to work on the project knows that their piece is
ready to be worked on.
It sounds to me like a good use of sendmail. Any kind of networked
notification system will run into Murphy snags every long once in
awhile; the sendmail technique is very easy and will work for the
vast majority of folks.
I was planning on using sendmail as a fallback if NSMailDelivery is
not configured or doesn't work. But I have already encountered one of
the problems Andrew Farmer mentioned: SMTP servers not accepting
connections from DHCP hosts. (And with the spam problem just getting
worse and worse, I suspect that will become more of an issue in the
future.) That's why I wanted to allow the user to enter SMTP settings
that their ISP or email provider recommends.
A few minutes ago I found a framework called MailCore:
http://www.theronge.com/mailcore/
It looks quite promising. Has anyone had any experience with it?
Derrick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden