I am getting the following exception when trying to load a message using Rebex Mail version 1.0.4086.0:
Exception Type: Rebex.Mail.MailException
Exception Message: Invalid TNEF message.
Exception Data: [MM.ErrorTag] = CUPS1NQBKMQR5YYFF4YMHJDYFA
Stack Trace:
at Rebex.Mail.MailMessage.BlsmEj(MimeEntity )
at Rebex.Mail.MailMessage.Load(Stream input)
at MM.Import.Biz.Stream.SourceSmtp.MessageReceived(SmtpMessageReceivedEventArgs ea, String acceptedRecipient, String unknownSenderRecipient, String noAttachmentRecipient, OperatingContext op)
Exception Type: System.ArgumentException
Exception Message: Invalid character at position 2.
Parameter name: name
Stack Trace:
at Rebex.Mail.Attachment.SetContent(Stream source, String name, String mediaType)
at bkfOwD.bXzAGmZ.clLXPXZ(Stream )
at bkfOwD.bXzAGmZ.cDtmAOZ(MailMessage , Boolean )
at Rebex.Mail.MailMessage.BlsmEj(MimeEntity )
The message (and attachment) open without issue using Outlook, so I'm at an impass on how to diagnose the issue. Any suggestions? (The MM.ErrorTag exception data is set by my own error handling code.)