Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Enhancement: XSimpleMailMessage.setBody( string body ) | ||
---|---|---|---|
Product: | App Dev | Reporter: | chhaprahiya <chhaprahiya> |
Component: | api | Assignee: | Ariel Constenla-Haile <arielch> |
Status: | CLOSED FIXED | QA Contact: | issues@api <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | arielch, chhaprahiya, issues, whiteice |
Version: | 3.3.0 or older (OOo) | ||
Target Milestone: | 4.0.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
chhaprahiya
2008-09-17 17:11:32 UTC
the problem is that we can't change published API's. We have to introduce a new interface or a XSimpleMailMessage2. And a further problem is that this request has no high prio and many other things have to be done first. This request has been done a long time ago and it seems that the method setBody(body as string) has not been implemented yet. Could you implement this method or give another way to attach documents, change body and recipient of an Email. Thank you for your answer. (In reply to comment #2) > This request has been done a long time ago and it seems that the method > setBody(body as string) has not been implemented yet. > > Could you implement this method or give another way to attach documents, > change body and recipient of an Email. > > Thank you for your answer. you can use the more complete com::sun:.star::mail API You can find some examples on the attachments to bug 118791 bug 118736 bug 118814 In case of doubts, there is a dedicated mailing list: ooo-api@incubator.apache.org "arielch" committed SVN revision 1398997 into trunk: #i93995# - Allow setting Body of a simple mail message Fixed on trunk.
Verify with the macro in attachment 79785 [details]
Hello, I've just tried the attachment https://issues.apache.org/ooo/attachment.cgi?id=79785 and I didn't manage to make work the method Body or setBody. Is it possible to set a body for a mail with this macro ? Thank you. (In reply to comment #6) > Hello, > > I've just tried the attachment > https://issues.apache.org/ooo/attachment.cgi?id=79785 and I didn't manage to > make work the method Body or setBody. > > Is it possible to set a body for a mail with this macro ? The fix for this patch was applied on the development version, you won't find it in any released version (currently the latest 3.4.1 does not have this fix). For the next release, OpenOffice 4.0, the system mail API has changed (hopefully for the better), you can track bug 121579 Updated target to release that will contain the fix. |