developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks




dxl export embedded attachment
Mirko Ozekker 02/18/2013 04:04 AM
Applications Development All Releases All Platforms


I have a problem with the dxl exporter.
My Script is as easys as this:
Dim s As New NotesSession
Dim exporter As NotesDXLExporter

Set exporter=s.CreateDXLExporter(doc)
DocumentToXml=exporter.Export()

It works with any Mail. But when I try this Script on a Mail I am currently writing and this new Mails has attachments I get this error:

4601: DXL exporter operation failed -> Dokument mit UnId= 051ED01C90CCB59EC1257B1300412071, Subject: test beim Export:
<?xml version='1.0'?>
<DXLExporterLog>
<error id='7112'>Fehler beim Verarbeiten des Dokuments mit ID 0x0</error>
<error id='551'>Ung├╝ltiges oder nicht vorhandenes Dokument</error>
<error>DXL exporter operation failed</error>
</DXLExporterLog>

After this Mail has been send (to me) I can use the script on it again.
Can anyone see where the clue is?

Go back