16,467
社区成员
发帖
与我相关
我的任务
分享
jmail::IPOP3Ptr pPOP3("JMail.POP3");
pPOP3.CreateInstance(__uuidof(jmail::POP3));
try
{
pPOP3->Timeout = 120;
}
catch (_com_error e)
{
CString strerr;
strerr.Format(LPCTSTR("Error: %s\r\n %s"), (LPCTSTR)e.ErrorMessage(),(LPCTSTR)e.Description());
AfxMessageBox(strerr);
exit(0);
}