Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

arnieterm

macrumors regular
Original poster
am writing an iphone application which will use smtp classes which will send the emails using the socket programming. So for doing that i need to get the smtp server setting details or specific mail setting details which has been configured in the iPhone device.
I need to get the following things:
1). smtp server name
2). smtp server port
3). If smtp requires security then
4). username
5). password

Is there any way to read/get those settings(smtp/pop3)? Please help! It's very urgent.
 
You can't extract them using the SDK (in particular, #5 would be a massive security issue). You'll have to ask the user for them from within your app.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.