We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Error converting to MIME to DefaultMsgUnicode "Index was out of range. Must be non-negative and less than the size of the collection."

I’m facing this issue on converting a meeting acceptance mail item from exchange from MIME to DefaultMsgUnicode. I cannot attach it due to sensitivity, however here is the stack trace. Any ideas?


System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at Aspose.Email.Recurrences.DateCollection.get_Item(Int32 index)
at Aspose.Email.Outlook.MapiCalendarRecurrencePatternFactory.#=qZ41qMDXnLfCnRu$xsxwetVwohgT1m$z9$sGSoOo8LCQ=(#=qGVlRPnB2PGoAYTOcRLbC3$_pa_cy2MFCDp7Ix9ptTEUu0Pbq0$op8Kvuw7p6F5je #=qkp0W893FNDL4wnEwPNc6eg==)
at Aspose.Email.Outlook.MapiMessage.#=qnrFMz4iEG1qFy3MjAZOck86FAA3n$EPr70wnVgOXlXE=(#=qgDRQ0aIyV6LFfvqF7qQhskigswzPN$iQxv9_peCKMwHXItgegNUsBgWVUN4kJbFL #=qcwb8D5$lb1lyN4CLVob$Og==, OutlookMessageFormat #=qvqb_2jauDUM_OVw6m9NNFA==, String #=qYsFgEZoJ0M0h_Et6CrRLVg==)
at Aspose.Email.Outlook.MapiMessage.#=qYACDigLhr$kUqvZzNLZu0VUnXlPZL5VtqmHTYfBYKuM=(MailMessage #=qO16JA6BSjOtgZJHm9xGJ4Q==, OutlookMessageFormat #=qvqb_2jauDUM_OVw6m9NNFA==, Boolean #=q_JXrBUzr70UBj1kTlHxbo4iAa1uV$wibtMgvfhj9bfI=)
at Aspose.Email.Outlook.MapiMessage.FromMailMessage(MailMessage message, MapiConversionOptions options)
at Aspose.Email.Mail.MailMessage.Save(Stream stream, SaveOptions options)
at Aspose.Email.Mail.MailMessage.Save(String fileName, SaveOptions options)

Hi,


Thank you for writing to Aspose support team.

This issue can be faced due to many issues. It is not possible to suggest some solution using this error message. You may please trim down the source mail such that all confidential information is removed but still mail can be used to re-produce the issue. This mail is must required to observe the issue here and provide assistance accordingly.