Apache OpenOffice (AOO) Bugzilla – Issue 64994
Service com.sun.star.mail.MailMessage is not valid
Last modified: 2013-02-24 21:08:36 UTC
see http://api.openoffice.org/docs/common/ref/com/sun/star/mail/MailMessage.html The description says: Usage Restrictions not published, Since: *OpenOffice* 2.0.0. The Service is restricted to StarOffice, this should be documented. In Basic: CreateUNOService ("com.sun.star.mail.MailMessage") gives me a Null- object, but CreateUNOService ("com.sun.star.mail.MailServiceProvider") works fine.
In IDL we document no implementations and the service definition is available since OO 2.0.0, it is no valid issue for me. I agree that it can be confusing but that is another problem. We also have other IDL types where no implementation exists. I think that in the latest version OOo 2.0.2 there is an implmentaiton for this service available but i am not 100% sure. But the API isn't published yet and you should expect that it might be change.
closed