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("t...@test.com"),Array("t...@test.com"),"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: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org