Hi
At a customers side our mail archiver program throws an exception when trying to download a signed e-mail. Unfortunately, I do not have access to the e-mail, but nevertheless, I need to know what the following cryptic message means:
AsposeException: Imap server returned an invalid response: '{0}' The server response was: UID 73)
---> ImapException: Imap server returned an invalid response: '{0}' The server response was: UID 73)
bei #=q2jSOkNcJfQQ7ugdKgY57RcA5W$Iz9FK7_OcjFZGeQUFw4xpNKYu8W$L7VDsc0D4R.#=qyoNik$EI0F4fgtUMzVWyVg==(Boolean #=q$CtJqMg1vTXdNo4mbge6yg==)
bei #=q2jSOkNcJfQQ7ugdKgY57RcA5W$Iz9FK7_OcjFZGeQUFw4xpNKYu8W$L7VDsc0D4R.#=q8NynGyfV3hCJz3Ic8D$3lQ==()
--- End of inner exception stack trace ---
bei #=qw7CHk_003EU3n3Wcg0VEBN6iwAkjY26DEZ7eZhgGUo1jgqSXQ5DmzKHgYdJre9Rl.#=qDnqB$QjOj7UrUZyV6Rcu7A==(IAsyncResult #=qfVLafpoW38MI3FRBD1EbcA==)
bei #=qw7CHk_003EU3n3Wcg0VEBN6iwAkjY26DEZ7eZhgGUo1jgqSXQ5DmzKHgYdJre9Rl.#=qDnqB$QjOj7UrUZyV6Rcu7A==()
bei Aspose.Email.Imap.ImapClient.EndFetchMessage(IAsyncResult asyncResult)
bei Aspose.Email.Imap.ImapClient.FetchMessage(String uniqueId)
Our environment: Aspose.Email 17.10.0.0, IMAP, Groupwise server
The code that throws the exception:
public bool LoadCurrentMessage()
{
LogWriter.writeMessage("Loading current message", LogWriterPrefix, LogLevels.Info, "", Constants.EventLogType.LoadCurrentMessage);
bool returnValue = false;
try
{
CurrentMessage = Client.FetchMessage(this.CurrentItem.UniqueId);
CurrentMessage.TimeZoneOffset = TimeZoneInfo.Local.GetUtcOffset(DateTime.UtcNow);
// Sets mail properties on current item.
Body = (CurrentMessage.BodyType == BodyContentType.Html) ? CurrentMessage.HtmlBody : CurrentMessage.Body;
BodyType = (CurrentMessage.BodyType == BodyContentType.Html) ? Constants.MailBodyType.HTML : Constants.MailBodyType.TXT;
AttachmentCount = CurrentMessage.Attachments.Count;
returnValue = true;
}
catch (Exception ex)
{
LogWriter.writeMessage("Error while loading current message: " + ex.ToString(), LogWriterPrefix, LogLevels.Error, "", Constants.EventLogType.LoadCurrentMessage);
}
return returnValue;
}
Best Regards
Andreas