login about faq

Hi, In my Application i am using following code to login with Chilkat library 9.3.2-IOS-6.0 for xcode 4.5

-(int)loginId:(NSString )emailId password:(NSString )pass{

CkoImap *imap = [[CkoImap alloc] init] ;

BOOL success = NO;

success = [imap UnlockComponent: @"unlock code"];

if (success != YES) {

       return kLOGIN_FAIL; //error code
//connect to imap server
  success = [imap Connect:@"mail.gmail.com"];
if (success == NO) {
    [imap Disconnect];
    return kLOGIN_FAIL; //error code


success = [imap Login: emailId password: pass];
if (success != YES) {
    [imap Disconnect];
    return kLOGIN_FAIL; //error code

 [imap Disconnect];


But the function [imap Login: emailId password: pass]; return no i have check email id and pass word it is working on web browser and it was working with same code earlier.

asked Oct 05 '12 at 09:41

satish's gravatar image


Check the contents of the LastErrorText property. I don't see how a login failure could be caused by an iOS version difference. Also, I can assure you that the IMAP login functionality is working fine (if it weren't then literally hundreds of customers would be reporting the problem) -- the most likely cause is that you're simply passing an incorrect login and/or password. Do some basic debugging to verify your input strings.


answered Oct 05 '12 at 10:56

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 05 '12 at 09:41

Seen: 2,165 times

Last updated: Oct 05 '12 at 10:56

powered by OSQA