用lumisoft登录outlook后有没有办法找回登录信息?这是我的代码
private void Connect()
{
string m_pUserName = "user@hotmail.com";
string m_pPassword = "pass";
string m_pServer = "imap-mail.outlook.com";
IMAP_Client imap = new IMAP_Client();
try
{
imap.Logger = new Logger();
imap.Connect(m_pServer, 993, true);
imap.Login(m_pUserName, m_pPassword);
MessageBox.Show(imap.GreetingText);
}
catch (Exception x)
{
MessageBox.Show(this, "IMAP server returned: " + x.Message + " !", "Error:", MessageBoxButtons.OK, MessageBoxIcon.Error);
imap.Dispose();
}
}
如果凭据错误,它最终会引发异常。但是,如果它们是正确的,我想检索 GreetingText 以外的信息。例如登录用户的电子邮件和密码等。
有小费吗?