wehbi
Posts: 80
Joined: 2013-10-31
|
Hi ADX-Team,
when I attach the OutlookItemEvent class to a RTF mail, the mail seems to become corrupt, as soon as the mail body contains a embedded picture.
After sending the mail, a mail with the following text returns:
-----------------------------------------------------------------------
Remote Server returned '554 5.6.0 Corrupt message content; STOREDRV.Deliver.Exception:ConversionFailedException.ConversionFailedException.TextConvertersException; Failed to process message due to a permanent exception with message The message content has become corrupted. ConversionFailedException: Content conversion: Body conversion failed. [Stage: CreateReplay]'
-----------------------------------------------------------------------
This is does not happen, when using HTML format or no picture is attached.
When I do not hook the event class in the adxOutlookEvents_InspectorActivate event, the problem is gone.
I unhook the event class at adxOutlookEvents_ItemSend, adxOutlookEvents_InspectorClose and AddinModule_AddinBeginShutdown.
What am I doing wrong?
Reagrds,
Birger |
|
Andrei Smolin
Add-in Express team
Posts: 19063
Joined: 2006-05-11
|
Hello Birger,
Does commenting out the custom code in the OutlookItemEvent class produce the same issue?
Andrei Smolin
Add-in Express Team Leader |
|
wehbi
Posts: 80
Joined: 2013-10-31
|
Hello Andrei,
the ProcessBeforeAttachmentAdd event is triggered when a RTF mail contains a picture and you hit the send button. This behaves different then HTML or PLAIN.
The underlying routine was causing the error.
Thanks and regards,
Birger |
|
Andrei Smolin
Add-in Express team
Posts: 19063
Joined: 2006-05-11
|
Thank you for letting me know!
Andrei Smolin
Add-in Express Team Leader |
|