Error exporting to G-mail

Hello Support Team.

When trying to export mail to G-mail, the following error was displayed and the export failed.

Export up to a specific e-mail, but a timeout will occur and you will get an error that the host name is unknown.

Do you know the cause of this problem?

Best regards,

-Kouhei-

[Log information]
17:49:21.929 [6] INFO: Materialized message 1:23671 as RFC822 file at C:XX\XX\Temp\MailStore\a2c84e26-2848-4650-8230-ca637f807c3e
17:49:21.929 [6] INFO: Creating message in IMAP folder. Internal Date: 2014/01/19 20:06:01
17:49:21.930 [6] INFO: IMAP command sent: R007BC APPEND "MailStore Export" (\Seen) "19-Jan-2014 20:06:01 +0000" {5301}
17:49:22.227 [6] INFO: IMAP command sent: ...5301 bytes...
17:49:22.227 [6] INFO: IMAP command sent: 
18:05:56.778 [6] EXCEPTION: ImapVirtualConnection.WithConnectionInternal
	Rebex.Net.ImapException: Timeout exceeded.
	   場所 Rebex.Net.Imap.CheckTimeout()
	   場所 Rebex.Net.ImapSocket.Receive(Byte[] buffer, Int32 offset, Int32 count)
	   場所 Rebex.Net.ImapSocket.Receive()
	   場所 Rebex.Net.ImapSocket.ReceiveLine(Int32& total)
	   場所 Rebex.Net.Imap.ReadLine()
	   場所 Rebex.Net.Imap.ReadLineWithLiterals(String command, ArrayList literals)
	   場所 Rebex.Net.Imap.ReadResponse(String command, ImapResponseKind kind, String tag, Boolean idle, Action`2 lineReceived)
	   場所 Rebex.Net.Imap.Execute(String command, Object[] parameters)
	   場所 Rebex.Net.Imap.StoreMessageInternal(String folder, Stream input, ImapMessageFlags flags, MailDateTime internalDate, String[] keywords)
	   場所 Rebex.Net.Imap.StoreRawMessageSync(String folder, Stream input, ImapMessageFlags flags, MailDateTime internalDate, String[] keywords)
	   場所 Rebex.Net.Imap.StoreRawMessage(String folder, Stream input, ImapMessageFlags flags, MailDateTime internalDate, String[] keywords)
	   場所 MailStore.Connectors.Mailboxes.ImapMailbox.#jEl.#iEl(Imap #X7f)
	   場所 #UAb.#1rg.#DCl.#Wsg(Imap #X7f)
	   場所 #UAb.#1rg.#Yrg(Func`2 #uMf, Exception& #Zrg)
18:05:56.778 [6] INFO: Exception indicates a connection error.
18:05:56.778 [6] INFO: Closing connection
18:05:56.778 [6] INFO: Will retry immediately.
18:05:56.778 [6] INFO: Retrying (1 of 3)
18:05:56.778 [6] INFO: Connecting to imap.gmail.com:993, protocol: IMAP-SSL
18:06:03.381 [6] EXCEPTION: ImapVirtualConnection.WithConnectionInternal
	Rebex.Net.ImapException: Unable to resolve hostname.
	   場所 Rebex.Net.Imap.ConnectSync(String serverName, Int32 serverPort, TlsParameters parameters, SslMode security)
	   場所 Rebex.Net.Imap.ConnectInternal(String serverName, Int32 serverPort, TlsParameters parameters, SslMode security)
	   場所 #UAb.#1rg.#Trg()
	   場所 #UAb.#1rg.#Yrg(Func`2 #uMf, Exception& #Zrg)
	
	*** Inner Exception ***
	Rebex.Net.ProxySocketException: Unable to resolve hostname.
	   場所 Rebex.Net.ProxyBase.Resolve(String serverName, Int32 serverPort, ProxySocketExceptionStatus errorStatus)
	   場所 Rebex.Net.ProxyNone.Connect(EndPoint endPoint)
	   場所 Rebex.Net.ProxySocket.Connect(EndPoint remoteEP)
	   場所 Rebex.Net.ProxySocket.Connect(String serverName, Int32 serverPort)
	   場所 Rebex.Net.ImapSocket..ctor(Imap imap, ISocketFactory factory, String serverName, Int32 serverPort)
	   場所 Rebex.Net.Imap.ConnectSync(String serverName, Int32 serverPort, TlsParameters parameters, SslMode security)
	
	*** Inner Exception ***
	System.Net.Sockets.SocketException: そのようなホストは不明です。
	   場所 System.Net.Dns.GetAddrInfo(String name)
	   場所 System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
	   場所 System.Net.Dns.GetHostEntry(String hostNameOrAddress)
	   場所 Rebex.Net.NetworkUtil.GetHostEntry(String serverName)
	   場所 Rebex.Net.ProxyBase.Resolve(String serverName, Int32 serverPort, ProxySocketExceptionStatus errorStatus)
18:06:03.381 [6] INFO: Exception indicates a connection error.
18:06:03.381 [6] INFO: Waiting 10 seconds
18:06:13.382 [6] INFO: Retrying (2 of 3)
18:06:13.382 [6] INFO: Connecting to imap.gmail.com:993, protocol: IMAP-SSL
18:06:13.726 [6] INFO: IMAP command sent: R00001 CAPABILITY
18:06:13.934 [6] INFO: Authenticating user XX@XX with Google OAuth API using ClientID 877546162609-jj1foe3g1i1lg40vd46hik0p5sgibo1o.apps.googleusercontent.com
18:06:14.453 [6] INFO: IMAP command sent: AUTHENTICATE XOAUTH2 **********
18:06:15.491 [6] INFO: Opening folder MailStore Export
18:06:15.492 [6] INFO: IMAP command sent: R00003 STATUS "MailStore Export" (UNSEEN)
18:06:15.810 [6] INFO: IMAP command sent: R00004 SELECT "MailStore Export"
18:06:16.414 [6] INFO: The connection has been established/restored.
18:06:16.415 [6] INFO: IMAP command sent: R00005 APPEND "MailStore Export" (\Seen) "19-Jan-2014 20:06:01 +0000" {5301}
18:06:16.718 [6] EXCEPTION: ImapVirtualConnection.WithConnectionInternal
	System.InvalidOperationException: Not enough data in a stream.
	   場所 Rebex.Net.Imap.UploadData(Stream stream, Int32 length, Boolean reportProgress)
	   場所 Rebex.Net.Imap.WriteCommandExt(String command, String reportLine, Object[] parameters)
	   場所 Rebex.Net.Imap.Execute(String command, Object[] parameters)
	   場所 Rebex.Net.Imap.StoreMessageInternal(String folder, Stream input, ImapMessageFlags flags, MailDateTime internalDate, String[] keywords)
	   場所 Rebex.Net.Imap.StoreRawMessageSync(String folder, Stream input, ImapMessageFlags flags, MailDateTime internalDate, String[] keywords)
	   場所 Rebex.Net.Imap.StoreRawMessage(String folder, Stream input, ImapMessageFlags flags, MailDateTime internalDate, String[] keywords)
	   場所 MailStore.Connectors.Mailboxes.ImapMailbox.#jEl.#iEl(Imap #X7f)
	   場所 #UAb.#1rg.#DCl.#Wsg(Imap #X7f)
	   場所 #UAb.#1rg.#Yrg(Func`2 #uMf, Exception& #Zrg)

Hello Support Team.
Do you know the cause of this error?
I’m looking forward to your reply.

-Kouhei-

It looks like you have connection issues and issues resolving the connection. Some suggestions to better understand:

  • What MailStore Home Version do you use?
  • How do you connect to GMAIL?
  • Any applications that “intercept” or “check on” the connection, like Virus-scanner, Firewalls, …?

Thank you for reply!

Reply to the questions.

・What MailStore Home Version do you use?
->Use Version is Mail Store Home 11.0.2version.

・How do you connect to GMAIL?
->[Email Export]->[Email Server]->[Gmail]

・Any applications that “intercept” or “check on” the connection, like Virus-scanner, Firewalls, …?
->Antivirus products and firewalls and other potentially affected applications have been suspended.

I am looking forward hearing from you.
Best regards,

-Kouhei-

Hello @kouhei,

I apologize for the late response.

Please update to the current version 12.0.3 to be up to date with the latest fixes and improvements.

That definitely indicates that your connection is lost, disrupted or otherwise malfunctioning.
In combination with

there seem to be errors finding the Google imap server all of a sudden.

Since MailStore Home uses Microsoft .NET, it uses the system features to connect to external servers.
It is not an internal software error, but your machine not being able to maintain a stable connection.

Is your internet connection stable?
Do you experience any issues besides MailStore Home, such as web pages not loaded correctly in the browser, downloads failing etc.?

How is your computer connected to the internet?
Is it via a router that has a connection to an internet provider?
Is your computer connected via WLAN, or an Ethernet cable?

What brand of antivirus/security solution do you use in general?
Is there any other firewall/filter solution in your network, like a company firewall with content scanners?