Re: Stealing settings from Mail.app

2010-06-01 Thread Chris Idou
://github.com/tcurdt/edmessage to send mails. Does your framework have any benefits over that one? - Original Message From: Dante Palacios palacios.da...@gmail.com To: Chris idou...@yahoo.com Sent: Tue, 1 June, 2010 1:38:04 PM Subject: Re: Stealing settings from Mail.app Hi Chris, There's

Re: Stealing settings from Mail.app

2010-06-01 Thread Chris Idou
BTW, what exactly are the downsides of sending the mail to local machine sendmail? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

Re: Stealing settings from Mail.app

2010-06-01 Thread Alastair Houghton
On 1 Jun 2010, at 10:07, Chris Idou wrote: BTW, what exactly are the downsides of sending the mail to local machine sendmail? This is pretty off topic, but: 1. You can't rely on the mail system being properly configured on a normal client machine. IIRC on older versions of (non-Server) Mac

Re: Stealing settings from Mail.app

2010-06-01 Thread Alastair Houghton
On 1 Jun 2010, at 00:33, Jn wrote: That's a good point that I hadn't given much thought to what happens when the net is down. I wasn't too worried about only supporting Mail.app because I was going to give them a way to also enter their smtp settings manually. But using your framework that

Re: Stealing settings from Mail.app

2010-06-01 Thread Dante Palacios
NSString *GetPassword(NSString *userName, NSString *hostName) { if (!hostName.length || !userName.length) return nil; const char *serviceName = [hostName UTF8String]; const char *serviceUserName = [userName UTF8String]; const char *path = ;

Re: Stealing settings from Mail.app

2010-05-31 Thread Alastair Houghton
On 28 May 2010, at 07:02, Chris Idou wrote: I've got an app that needs to send out emails. I'm trying to import mail settings from Mail.app. For some reason my keychain has passwords for smtp.gmail.com, but not for smtp.me.com. Does anyone know where Mail.app stores other passwords? Or why

Re: Stealing settings from Mail.app

2010-05-31 Thread Jn
That's a good point that I hadn't given much thought to what happens when the net is down. I wasn't too worried about only supporting Mail.app because I was going to give them a way to also enter their smtp settings manually. But using your framework that only supports 3 mailers with no

Re: Stealing settings from Mail.app

2010-05-31 Thread Chris
Thanks, it was the iTools bit I needed. But looks like there is a bug in this code it won't notice me.com and could wrongly think say macdonald.com is mobile me. But thanks, it gives me what I needed. -- Chris On 31/05/2010, at 8:11 PM, Dante Palacios palacios.da...@gmail.com wrote: NSString

Re: Stealing settings from Mail.app

2010-05-30 Thread Chris Idou
: Stealing settings from Mail.app Chris Idou wrote: I've got an app that needs to send out emails. I'm trying to import mail settings from Mail.app. For some reason my keychain has passwords for smtp.gmail.com, but not for smtp.me.com. AFAIK, there is only the one MobileMe password for all uses

Re: Stealing settings from Mail.app

2010-05-30 Thread Jens Alfke
On May 30, 2010, at 12:55 AM, Chris Idou wrote: OK, I see. So is Mobile-Me the only special case, or is there a more general rule about other places to find smtp server passwords? AFAIK it’s the only special case. In general, an SMTP server’s password is stored under that server name in the

Re: Stealing settings from Mail.app

2010-05-30 Thread Jn
Would you have the API code to retrieve it? Not sure what to pass to get the mobile me password. -- Chris On 31/05/2010, at 2:43 AM, Jens Alfke j...@mooseyard.com wrote: On May 30, 2010, at 12:55 AM, Chris Idou wrote: OK, I see. So is Mobile-Me the only special case, or is there a more

Stealing settings from Mail.app

2010-05-28 Thread Chris Idou
I've got an app that needs to send out emails. I'm trying to import mail settings from Mail.app. For some reason my keychain has passwords for smtp.gmail.com, but not for smtp.me.com. Does anyone know where Mail.app stores other passwords? Or why my keychain has smtp.gmail.com passwords, but

Re: Stealing settings from Mail.app

2010-05-28 Thread Greg Guerin
Chris Idou wrote: I've got an app that needs to send out emails. I'm trying to import mail settings from Mail.app. For some reason my keychain has passwords for smtp.gmail.com, but not for smtp.me.com. AFAIK, there is only the one MobileMe password for all uses. Double-click your