Rank: Member
Groups: Registered
Joined: 12/23/2010(UTC) Posts: 24 Location: rennes
Thanks: 8 times
Hello, we have a problem the active x component EAGetMail : Your sample pop3_imap4_simple.vcNative is working well when compile with the UNICODE Character Sets. If we compile with the Multibyte Character Sets (MBCSs), then when we try to set the server we can't get it working : is generating an error during the connect phase :socket error 11001 The error seems to be a string convertion issue :oServer->put_Server((BSTR)textServer.GetString()); We don t have any problems with the EASendMail component, we used :m_oSmtp->ServerAddr = _bstr_t((LPCSTR)textServer); Best regards, florent
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Hi, if you compile it with MBCS please simply change the code to:
Code:
oServer->Server = textServer.GetString();
oServer->User = textUser.GetString();
oServer->Password = textPassword.GetString();
then it should be ok, above codes are also OK with UNICODE. We will fix it in our sample project, thank you very much.
Edited by user Tuesday, September 9, 2014 5:30:50 PM(UTC)
| Reason: Not specified
1 user thanked ivan for this useful post.
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.