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.