Hallo, ich möchte gerne beim eMail-Export eine Signatur mit geben.
Hier mein Code:
ret% = ListLabel1.LlXSetParameter(LL_LLX_EXTENSIONTYPE_EXPORT, “PDF”, “Export.SendAsMail”, “1”)
'ret% = ListLabel1.LlXSetParameter(LL_LLX_EXTENSIONTYPE_EXPORT, “PDF”, “Export.Mail.To”, z_emailadresse)
ret% = ListLabel1.LlXSetParameter(LL_LLX_EXTENSIONTYPE_EXPORT, “PDF”, “Export.Mail.ShowDialog”, “1”)
ret% = ListLabel1.LlXSetParameter(LL_LLX_EXTENSIONTYPE_EXPORT, “PDF”, “Export.Mail.SendResultAs”, “text/html”)
'ret% = ListLabel1.LlXSetParameter(LL_LLX_EXTENSIONTYPE_EXPORT, “PDF”, “Export.Mail.Body:application”, “RTF”)
'ret% = ListLabel1.LlXSetParameter(LL_LLX_EXTENSIONTYPE_EXPORT, “PDF”, “Export.Mail.SendResultAs”, “html”)
ret% = ListLabel1.LlXSetParameter(LL_LLX_EXTENSIONTYPE_EXPORT, “PDF”, “Export.File”, W_belegart & BELEG01!BELEGNR & “.pdf”)
'ret% = ListLabel1.LlXSetParameter(LL_LLX_EXTENSIONTYPE_EXPORT, “PDF”, “Export.Mail.Subject”, W_belegart & BELEG01!BELEGNR & “.pdf”)
ret% = ListLabel1.LlXSetParameter(LL_LLX_EXTENSIONTYPE_EXPORT, “PDF”, “Export.Path”, mod_allg.Pfad_fuer_im_ex)
ret% = ListLabel1.LlXSetParameter(LL_LLX_EXTENSIONTYPE_EXPORT, “PDF”, “Export.Quiet”, “1”)
ret% = ListLabel1.LlXSetParameter(LL_LLX_EXTENSIONTYPE_EXPORT, “PDF”, “Export.SendAsMailAvailable”, “0”)
'24.06.2025
'ret% = ListLabel1.LlXSetParameter(LL_LLX_EXTENSIONTYPE_EXPORT, "PDF", "Export.Mail.Provider", "XMAPI")
ret% = ListLabel1.LlXSetParameter(LL_LLX_EXTENSIONTYPE_EXPORT, "PDF", "Export.Mail.Provider", "MSMAPI")
'24.06.2025 Signatur übergeben
ret% = ListLabel1.LlXSetParameter(LL_LLX_EXTENSIONTYPE_EXPORT, "PDF", "Export.Mail.SignatureName", "Fiba")
'ende
'ret% = ListLabel1.LlXSetParameter(LL_LLX_EXTENSIONTYPE_EXPORT, "PDF", "Export.Mail.Body", z_emailtext)
ret% = ListLabel1.LlPrintStart(LL_PROJECT_LIST, pfad, LL_PRINT_EXPORT)
ret% = ListLabel1.LlPrintSetOptionString(LL_PRNOPTSTR_EXPORT, "PDF")
Wenn ich den Provider XMAPI verwende, dann kommt zwar die Signatur, aber halt nur in Text-Format, also ohne Grafik und Formatierung.
Was ist an meinem Code falsch?
vielen lieben Dank für eine Antwort.
mfg
EFI