Hi,
first thanks to Ariel who simplified the system mail stuff.
But this seems not suitable for html body. So I tried:
'a selection in the textdocument must be done before
xTransferable = ThisComponent.CurrentController.getTransferable()
dataflavors = xTransferable.getTransferDataFlavors()
data = dataflavors(2)'html
transferData = xtransferable.getTransferData(data)
xMessage =
com.sun.star.mail.MailMessage.create(Array("[email protected]"),Array("[email protected]"),"Subject",
xTransferable )
But this fails. Any ideas why? I think the xTransferable isn't the
correct type, because it supports other mimetypes too.
Regards
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]