Issue 11244 - Merge to email
Summary: Merge to email
Status: CLOSED DUPLICATE of issue 51638
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.0.2
Hardware: PC All
: P3 Trivial with 24 votes (vote)
Target Milestone: ---
Assignee: requirements
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on: 14706
Blocks:
  Show dependency tree
 
Reported: 2003-02-06 13:09 UTC by kelvine
Modified: 2010-06-22 14:00 UTC (History)
6 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
mailmerge.py - enable emailmerge in Writer (10.80 KB, text/plain)
2005-11-08 04:01 UTC, dtcwee
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description kelvine 2003-02-06 13:09:17 UTC
Hi,

I just thought I would suggest the merge to email be reinstated and improved.

I think it is a pity it has been removed as the ability to mail merge to an 
email is what a lot of my clients want to do or are moving towards.  I would 
have liked to see this extended to provide customised Html formatted email like
most of the big guys are now using.

Every small business will soon, or should be marketing their services to their 
client base via email. Not to have such a facility in their main documentation 
product will force them to look for other alternatives.

In my own case I like to send out emails to my client base and this would help.

This is one feature that Word does appear to have and for some people, could 
be a single reason for staying with or going back to Word.

Kelvin
Comment 1 Unknown 2003-02-08 11:45:50 UTC
There's mail merge in 1.01 but it seems to be broken. I can't send 
emails with the text as the message body. Is there a way of fixing 
this?
Comment 2 Unknown 2003-02-08 11:46:42 UTC
*** This issue has been confirmed by popular vote. ***
Comment 3 h.ilter 2003-02-12 11:05:02 UTC
Reassigned to BH
Comment 4 flibby05 2004-05-04 19:12:43 UTC
this enhancement is covered by issue 20057 and will be implemented with
OpenOffice.org 2.0.

schedule plan for version 2.0 is available here:
http://development.openoffice.org/releases/OpenOffice_org_trunk.html
Comment 5 bettina.haberer 2004-07-07 15:46:14 UTC
Set the status to fixed. Please check it in OO.o 2.0, when it is available.
Comment 6 eberlein 2004-11-15 15:37:37 UTC
Hi Max,
in m60 there is an option for E-Mail Merging. If I understand issue 34233 
correctly, E-Mail was canceled for OpenOffice and is reserved for StarOffice??
See also http://sw.openoffice.org/servlets/ReadMsg?list=dev&msgNo=1089
Can you confirm this?

Regards Peter
Comment 7 eberlein 2004-11-19 09:35:39 UTC
Hi Bettina,
please reopen the issue, it won't be fixed with 2.0.

Peter
Comment 8 bettina.haberer 2004-11-23 09:10:49 UTC
OK, reopened.
Comment 9 darkonc 2004-12-16 15:52:24 UTC
> Major bummer. Apart from MS Office document compatibility, 
> Mail Merge would have to be the most common aspect of an office 
> product that our users need, and I would have to think they are 
> pretty typical office users!

If this makes a difference to your business, PLEASE see if you 
can get someone to allocate (or pool with a few companies) some money 
for a bounty on this bug.  It'd still be cheaper than paying for MS
licenses, and you'd be providing a service to the whole community.
Comment 10 bettina.haberer 2004-12-17 09:58:33 UTC
Assigned to requirements.
Comment 11 eberlein 2005-02-06 21:05:26 UTC
What about issue 30916 and release notes to m77?

E-Mail-Merging possible or not (with installed java-mail)?

It's a hurly-burly, isn't it?

Peter
Comment 12 hummusman 2005-03-06 07:30:40 UTC
ok, so we've all waited for 2.0 for this email merge to work, and now it does 
not work.  I just got the 2.0 beta (m79) and it looks like email merge will 
work, but it doesn't.  It tells you to install JavaMail, you install JavaMail, 
and OO won't recognize that JavaMail is installed.  

After much searching I find that this is due to some StarOffice thing - 
some "special" Javamail component that exists for StarOffice and doesn't exist 
for OO.  It just seems like this is a really simple feature, and I feel 
frustrated now that I was here waiting, waiting, waiting for 2.0 so I can use 
email merge and now it's not there.   I work for a small nonprofit org and this 
simple email merge would help us immensely.

I just wanted to express my frustration.  Somewhere in the release notes, or in 
some official easy-to-find faq, we need to clearly explain the story on why 
email merge still doesn't work and when it will.
Comment 13 grunzebaer 2005-03-24 22:32:05 UTC
Hi,

I think this will really be great, if merge to email works. This was the feature
I was waiting for. And it is not ok to show this feature on the setup options
and let the user think he/she can use it after installing java mail. My
deception was big.

Peter
Comment 14 grsingleton 2005-05-26 16:17:57 UTC
Added myself to cc list
Comment 15 kami911 2005-07-07 05:30:20 UTC
Check this:
http://www.openoffice.org/issues/show_bug.cgi?id=51638
Comment 16 lohmaier 2005-07-07 13:26:23 UTC
since it is unlikely that there will be another implementation than that in
issue 51638 I close this one as duplicate.

If issue 51638 won't get accepted/integrated (unlikely), then this one sould be
reopened.

*** This issue has been marked as a duplicate of 51638 ***
Comment 17 lohmaier 2005-07-07 13:27:11 UTC
closing duplicate.
Comment 18 hummusman 2005-11-03 08:23:50 UTC
hey i finally got this to work at long last - and i put together a doc of my 
experience - see here:

http://internet.cybermesa.com/~aaron_w/OOo_email_merge/OOo_email_merge.html

peace,

Aaron
Comment 19 dtcwee 2005-11-08 04:01:23 UTC
Created attachment 31250 [details]
mailmerge.py - enable emailmerge in Writer
Comment 20 dtcwee 2005-11-08 04:02:39 UTC
Tested fix on fresh XP SP 2 install. Clarifying the procedure:

1. Install Openoffice.org 2

2. Install Sun Java JRE http://www.java.com

3. Install JavaMail http://java.sun.com/products/javamail/ - i.e. extract the 
archive file and append a path to mail.jar in your CLASSPATH environment 
variable. (XP: Control Panel - System - Advanced - Environment Variables.)

4. Install Java Activation Framework 
http://java.sun.com/products/javabeans/glasgow/jaf.html - i.e. extract the 
archive file and append a path to mail.jar in your CLASSPATH environment 
variable. (XP: Control Panel - System - Advanced - Environment Variables.)

5. Install mailmerge.py. Instructions for linux are commented in script. For 
XP:

5.1. Copy mailmerge.py into OpenOffice /program/ subfolder.

5.2. Using Command Prompt, change directory to OpenOffice /program/ subfolder 
and type "unopkg add --shared mailmerge.py".

6. Enable mail merge to email in Writer.

6.1. (XP) Change Folder Options in Windows Explorer to show hidden folders and 
extensions for known file types. Writer's config file is in a hidden folder.

6.2. Run Writer, start and then cancel the mail merge wizard. This generates 
the attributes in Writer's config file that you will need to change later.

6.3. Edit "Writer.xcu" in notepad or wordpad. On XP, its path is like: 
C:\Documents and Settings\My Username\Application Data\OpenOffice.org2
\user\registry\data\org\openoffice\Office\Writer.xcu

6.3.1. Find:
<prop oor:name="EMailSupported" oor:type="xs:boolean">
<value>false</value>
</prop>

6.3.2. Change 'false' to 'true'

Merge to email should now work.
Comment 21 rbarreca 2006-04-03 05:34:37 UTC
EMail merge is not working for me in 2.0.2, on XP SP 2.  I have two problems.

1. Minor - On step 3, the right panel shows sub-steps 1-4.  
   a) The first sub-step shows "1. 1. Select the..." but should be "1. Select
the..."
   b) The second and fourth sub-step is just blank. Should say something!

2. Doesn't send emails.  I'm using smtp.comcast.net, SSL, port 465 which matches
my exact settings in Thunderbird, but when I get to send email screen and click
"Send emails" it hangs for about 1 minute, then shows me Sending 0 of 2 emails
and this screen does nothing indefinitely.  But I can close it by click Cancel
so it's not "frozen".  

I really would love to have this functionality.  And this is the first BIG bug
I've found in OO.
Comment 22 rbarreca 2006-04-03 05:37:04 UTC
Sorry, one more thing.

I tried the above fix and I downloaded javamail and jaf, but the mailmerge.py
was already included in 2.0.2 and they have the same code.  Tried to do the
unopkg but got an error and couldn't find that code in Writer.xcu.  I assume
that fix does not apply for 2.0.2.

Anyone got any thoughts to help me get MailMerge going? Anyone else using Email
feature successfully?
Comment 23 grsingleton 2006-04-03 12:33:20 UTC
mailmerge.py works for me and does not require java, javamail or the sun
specific code. I think that if you want a java solution, you will have to write it.
See
http://documentation.openoffice.org/HOW_TO/word_processing/Email_mailmerge.pdf
for how to get mailmerge.py working.
Comment 24 rbarreca 2006-04-03 19:14:48 UTC
Okay, I have 2.0.2.  

----------------
Problem 1
----------------
Here's what happens when I do an unopkg:

C:\Program Files\OpenOffice.org 2.0\program>unopkg add --shared mailmerge.py
ERROR: Package has already been added: mailmerge.py
unopkg failed.

So maybe that's fine.

----------------
Problem 2
----------------
<prop oor:name="EMailSupported" oor:type="xs:boolean"> is nowhere to be found in
my Writer.xcu  

I tried adding it manually with the "true" in there but that didn't work either.

I can get to the last step in the Email Merge and it just sits there saying 0 of
2 emails sent...

So I changed my email settings from smtp.comcast.net/SSL/port 465 to use a
standard port 25/no ssl and it finally sent the emails but they were blank.  The
initial settings were good, I think it has a problem connecting to non-standard
ports/SSL?  Dunno...