(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: mail ::

unpublished service MailMessage
Supported Interface
XMailMessage
Usage Restrictions
not published
Since
OOo 2.0.0


Constructors' Summary
create Constructs an instance of a mail message.  
createWithAttachment Constructs an instance of a mail message.  
Constructors' Details
create
create( [in] string  sTo,
[in] string  sFrom,
[in] string  sSubject,
[in] ::com::sun::star::datatransfer::XTransferable  xBody );

Description
Constructs an instance of a mail message.
Parameter sTo
[in] the e-mail address of the recipient. The e-mail address has to conform to RFC 822.
Parameter sFrom
[in] the e-mail address of the sender of this mail message. The e-mail address has to conform to RFC 822.
Parameter sSubject
[in] the subject of the mail message.
Parameter xBody
[in] the body of the mail message. It is expected that the transferable delivers the data as a string. Although a transferable may support multiple data flavors only the first data flavor supplied will be used to retrieve the data and it is expected that the data will be provided as a string.
See also
XMailMessage, ::com::sun::star::datatransfer::XTransferable
createWithAttachment
createWithAttachment( [in] string  sTo,
[in] string  sFrom,
[in] string  sSubject,
[in] ::com::sun::star::datatransfer::XTransferable  xBody,
[in] MailAttachment  aMailAttachment );

Description
Constructs an instance of a mail message.
Parameter sTo
[in] the e-mail address of the recipient. The e-mail address has to conform to RFC 822.
Parameter sFrom
[in] the e-mail address of the sender of this mail message. The e-mail address has to conform to RFC 822.
Parameter sSubject
[in] the subject of the mail message.
Parameter xBody
[in] the body of the mail message. It is expected that the transferable delivers the data as a string. Although a transferable may support multiple data flavors only the first data flavor supplied will be used to retrieve the data and it is expected that the data will be provided as a string.
Parameter aMailAttachment
[in] specifies an attachment which should be send with this mail message.
See also
XMailMessage, ::com::sun::star::datatransfer::XTransferable, MailAttachment

 
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.