Skip navigation.
 
mlRe: Can NSMailDelivery be configured programmatically?
FROM : Derrick Bass
DATE : Sat Jun 03 21:54:09 2006

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

Related mailsAuthorDate
mlCan NSMailDelivery be configured programmatically? Derrick Bass Jun 3, 09:16
mlRe: Can NSMailDelivery be configured programmatically? Dominic Blais Jun 3, 09:25
mlRe: Can NSMailDelivery be configured programmatically? Andrew Farmer Jun 3, 11:00
mlRe: Can NSMailDelivery be configured programmatically? Derrick Bass Jun 3, 20:04
mlRe: Can NSMailDelivery be configured programmatically? Dominic Blais Jun 3, 20:04
mlRe: Can NSMailDelivery be configured programmatically? Dominic Blais Jun 3, 20:17
mlRe: Can NSMailDelivery be configured programmatically? Derrick Bass Jun 3, 21:54
mlRe: Can NSMailDelivery be configured programmatically? Andrew Farmer Jun 3, 22:31
mlRe: Can NSMailDelivery be configured programmatically? Birch Browning Jun 4, 06:03
mlRe: Can NSMailDelivery be configured programmatically? Chris Suter Jun 4, 06:25