Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

NDR from Exchange server with content conversion error for message with Outlook item from Drafts folder

$
0
0
Aspose.Email version: 4.8.0.

Environment: Exchange 2013 SP1 and MS Outlook 2013.

Scenario: Our Exchange transport agent performs some manipulations with messages (like changing attachments' name etc.).

Issue: If user attached message from Drafts folder in Outlook, then Exchange Server send NDR, to the sender, stating message is corrupted. It works OK, if I attach message from Input or Sent Items folders, but no for Drafts. So Aspose somehow changes message structure and Exchange cannot process it then.

NDR (message is attached):
The email system had a problem processing this message. It won't try to deliver this message again.

Remote Server returned '554 5.6.0 Corrupt message content; STOREDRV.Deliver.Exception:ConversionFailedException.ConversionFailedException; Failed to process message due to a permanent exception with message The message content has become corrupted. ConversionFailedException: Content conversion: Failed due to corrupt TNEF (violation status: 0x00000800) [Stage: CreateReplay]'


I found, that issue is reproducible even if no changes are made. To replicate the issue on your side I attached sample project, which uses EWS to send test message. This test message is a original message received by Exchange from Outlook (contains embedded message, attached from Drafts folder).

Message is SENT successfully (recipient receives message and NO NDR is sent), if PreserveTnefAttachments flag is not specified. But I DO need it to preserve original message format.

Thanks,
Alex Shloma

Viewing all articles
Browse latest Browse all 1367

Trending Articles