Apache OpenOffice (AOO) Bugzilla – Issue 51638
patch to implement a mailmerge email component for OOo
Last modified: 2013-08-07 14:42:16 UTC
as described, patch attached to implement a simple email componenent to facilitate email mail merge in writer
Created attachment 27745 [details] patch to implement
caolanm->ama: Here's something which should suffice (the simple case tested so far) as an email component for mail-merge for OpenOffice.org (as opposed to the existing solution for StarOffice)
Yeah! Great news! I wanted to leave message on your blog, but I can't. This patch must be extend and integrate as soon as possible. Here is my vote :o)
AMA->OS: Please have a look.
Please check this issue: http://www.openoffice.org/issues/show_bug.cgi?id=11244 They talk about very same thing.
->mba: Is it the right place to put this into /cvs/framework/scripting as suggested by the patch?
This part of the scripting framework code is not maintained by us, but by our well-known former mate Jörg Budischewski. So every patch in PyUNO and/or (as her) the scripting provider for PyUNO should be discussed with him.
Created attachment 27752 [details] additional bit
->jbu: So how about putting the code into /cvs/framework/scripting?
*** Issue 11244 has been marked as a duplicate of this issue. ***
added cc
Hi, the patch should work and it is the easiest way to integrate it into ooo. But in general, one should group components by semantics and not by implementation language. So if I would need to decide, I'd place the components somewhere, where also a c++ mailmerge component would be placed. There it just needs to be copied into bin output tree and d.lst needs to be modified to export .py files to solver In scp2, one can then also add the component in the scp2/source/writer module instead of the scp2/source/python module. However, I don't mind to keep the patch as it is currently, so I would leave the decision up to you. Feel free to ask in case there is something unclear. Bye, Joerg
When it can be the part of official distribution? I would happy with 2.0 or 2.0.1
Hi I have readed discussions in #11244. And I must re-state that this feature was present in OOo pre 1.1.x. We all were promised that OOo 2.0 will include it. The target milestone MUST be 2.0 final, not something like 2.0.1 As o OOo2.0b2 (m125) the "e-mail message" button appears in teh Mail merge wizard. But there is no mailmerge.py included with teh regular distribution, neither installing JavaMail will activate it. Just a comment: activating this button requires to manually edit the ~/.openoffice.org2/user/registry/data/org/openoffice/Office/Writer.xcu file to set EMailSupported option +# <prop oor:name="EMailSupported" oor:type="xs:boolean"> +# <value>true</value> +# </prop> This is not acceptable for regular use. Thsi is more on the category of "hack". In addition, this hack will work for a single user, should be repeated for all users in the machine. If you want to consider EMailSupported as a selectable option, there should be a proper "option entry" in the regular OOo Options page for normal users to set on/off. Enrique
@cmc: will you take action to open a cws for this to integrate this in OOo ?
I'm willing to do so,
oooemailmerge workspace
Added in workspace oooemailmerge. http://ooomisc.services.openoffice.org/pub/OpenOffice.org/cws/upload/oooemailmerge/ I'm not certain I have the windows packaging correct. ecastro's point is valid I think, but not addressed here. If a user has started writer and played with the email mailmerge and the python of java solution is not available the user config is set as not supporting it. Installing a systemwide solution afterwards will be ignored. That should affect both the staroffice solution as well as the openoffice.org one if I understand correctly, so not specific to this backend addition.
done in oooemailmerge
We are coming closer to 2.0.1... Any news about the Windows build? Peter
well i downloaded 2.0 expectantly yesterday and it didn't work - even installing javamail. so anyway accidentally stumbled across some stuff and then got it to work!! actually it's the same patch as above - but can be installed without recompiling patched source code. it requires - copying python script to OOo program folder, running "unopkg" from command line to add it to OOo - then editing one value in obscure file "Writer.xcu" - i made a doc with complete instructions - http://internet.cybermesa.com/~aaron_w/OOo_email_merge/OOo_email_merge.html until this makes it into release, i'm a very happy camper that i got this to work at all - this has been out there apparently since july, with several others using it successfully, but I just found out about it now and wanted to share the news. peace aaron w
Thank you caolan for this. I only wish someone would have put these instructions on here sooner, and answered somewhere what was up with this feature not working - so so many of us wouldn't have been pulling our hair out dicking with javamail in futility.
*** Issue 14706 has been marked as a duplicate of this issue. ***
verified (reported by hi).
closed, in m401, but see issue 58137
Using OOo2.1 On XP DEFECT - sorry not the privileges OPEN In OOo2.1 mail merge using Mail is not visible or configurable. I refuse to do the hack patch mystery as I am a 'regular' user-trainer. I'll have to inform my trainees that mail merge mail is apparently not available to OOo Standard Version.
=> dalo I think you have a XP configuration problem. I cannot reproduce what you claim and the errors you have reported look to me like Windows errors. 2.1, out-of-the-box mailmerge works very well. If fixing permissions for your user does not help open a new issue.
as the mailmerge-component is written in python, you won't get it if you disable the pyuno runtime during setup. So check whether you got pyuno installed (if you can run any of the python-hello-world macros, then everything should be there and you should file a new issue with a more detailed explanation of the problem. If you don't see any python Macros, then install pyuno and try again. Tools|Macros → run → OOo Macros → HelloWorld → HelloWorldPython and/or Tools|Macros → run → OOo Macros → pythonSamples → TableSample → createTable