Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index

[tdf-discuss] Re: When can we have a API to send Emails ?


Le 24/06/11 13:46, Caolán McNamara a écrit :

Hi Caolàn,

On Wed, 2011-06-22 at 14:18 +0200, Fernand Vanrie wrote:
So please can someone make this small change in the API

You *might* get some change out of the com.sun.star.mail.MailMessage
service which implements XMailMessage which has a (horribly-complex)
route to set the body of the email. 

Do you mean, this bit of MailMessage.hpp :

const ::com::sun::star::uno::Reference<
::com::sun::star::datatransfer::XTransferable >& xBody


where it looks like the body has to be a recognised DataFlavor :

http://api.openoffice.org/docs/common/ref/com/sun/star/datatransfer/DataFlavor.html
and which DataFlavor requires a structure something akin to what is
found through drag and drop or copying to the clipboard - mmmm, nice,
looks...mind-boggling :-))


Alex



-- 
Unsubscribe instructions: E-mail to discuss+help@documentfoundation.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/discuss/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.