2011-01-14 6 views
0

プログラムでIMAP Outlookメールボックスに接続しようとしているときにfallowingエラーが発生しました(サーバーに接続できますがログインできません)。私は正しいユーザー名とパスワードを使用していることを100%確信しています。問題ChilKatを使用してOutLook 2007(IMAPサーバー)に接続する

loginResponse:AAAC NOログイン 失敗はIMAPサーバ から失敗したログイン応答を受信し

は、ライセンスキーが有効でない場合でも、チルカットのコンポーネントの場合は...事前に

+0

こんにちは。 答えは見つかりましたか? 2003年から2010年に移行した後、同じ問題が発生しています。 私はポート993でsslを使用しています。 私はサーバーに接続できますが、ログインできません。 –

答えて

0

ありがとう失敗しました。同じエラーが表示されます。

Component.LastErrorText 

をご覧ください。

 Chilkat.Imap imap = new Chilkat.Imap(); 
     imap.UnlockComponent("LicenseText"); 

     // If your IMAP server needs SSL, set the Ssl property = true 
     // and set the IMAP port to 993. 
     // imap.Ssl = true; 
     // imap.Port = 993; 
     imap.Connect("IP Address"); 

     // Login to an email account. 
     bool b = imap.Login("username", "password"); 
+0

loginResponse:aaac NO Login IMAPサーバーからのログイン応答に失敗しました失敗........これはそれです:( –

+0

DLL日付12月22 2010 UnlockPrefix:30日間の試用のもの ユーザ名:abc コンポーネント:.NET 2.0 ログイン「ユーザ名」 CONNECTIONTYPE:暗号化されていないTCP/IP loginResponse:NO AAACログイン 失敗はIMAPサーバ から失敗したログイン応答を受信し –

+0

を失敗しました、あなたは必ず、あなたのユーザ名とパスワードが正しいです。また、アクセシビリティをチェック!あなたはOutLook 2007 IMAP Serverの意味を説明してもらえますか? – KBBWrite

0

Chilkat.Imap IMAP =新しいChilkat.Imap()を試してみてください。

  bool success; //string responseString; 

      // Anything unlocks the component and begins a fully-functional 30-day trial. 
      success = imap.UnlockComponent("Anything for 30-day trial"); 
      if (success != true) 
      { 
       MessageBox.Show(imap.LastErrorText); 
       return; 
      } 

      imap.Port = 993; 
      imap.Ssl = true; 
      // Connect to an IMAP server. 

      success = imap.Connect("servername.na.company.org"); 
      if (success != true) 
      { 
       MessageBox.Show(imap.LastErrorText); 
       return; 
      } 
      success = imap.IsConnected() ; 
      MessageBox.Show("suc"+success); 


      success = imap.Login("username", "pwd"); 


      if (success != true) 
      { 
       MessageBox.Show(imap.LastErrorText); 
       return; 
      } 

      // Select an IMAP mailbox 
      success = imap.SelectMailbox("[email protected]"); 
      if (success != true) 
      { 
       MessageBox.Show(imap.LastErrorText); 
       return; 
      } 
関連する問題