I'm afraid the Tools > Mail Merge Wizard has never been one of my favorites. Too complicated.
I always train people to just "roll their own" when making a mail merge document.
http://openoffice.blogs.com/openoffice/2007/01/mail_merge_in_o.html
Everything you can do in the mail merge wizard, you can pretty much do in the roll-your-own approach, especially since you can now print all documents to a single file and then open that and customize it as you like, before printing on paper.
and viewing/editing the file output. (Click to see the bigger version; you'll see different values in the two letters.)
BUT
One thing you can't do in the roll-your-own approach is do an email mail merge.
Do you really want to go through the complexity and muscle aches of using the Mail Merge Wizard? No. And you don't have to. You're going to mix and match.
Step 1. Create your email the way you want it with the roll-your-own approach.
http://openoffice.blogs.com/openoffice/2007/01/mail_merge_in_o.html
Save it. Keep it open.
Step 2: Set up email configuration. In Writer, choose Tools > Options > OpenOffice.org Writer > Email. This setup worked for me. Key settings are smtp.comcast.net and port 587. You just need to do this once. If you have security on your email, like requiring a password to send, you'll have to click the Server Authentication button and enter additional information.
Step 3: Choose Tools > Mail Merge Wizard. Choose Current Document, or else browse to your document, and click Next.
Choose Email and click Next.
Select the database you're using and the table. Click OK and click Next.
Keep clicking next til you're here. Fill it in by selecting the field from the database that has the emails in it, and anything else you want. Click Send Documents.
You'll see the progress window (in this test I only sent two emails).
And you're done!
The received email looks like this. Note that I sent it in email format, but with the extra carriage returns I put between the lines in Writer, it looks a little spacey here. You'll want to experiment with and adjust how you format the original Writer documents and what format you send in.
Solvieg,
YOU GODDESS YOU!! Your article couldn't have been posted at a better time for me. My SVP's EA just approached me with a 'special project' which I thought, sure ok, I've done about 1,000 mail merges easily and then realized she said EMAIL MERGE. Yikes! ok, so, did a little digging to my dismay to fine hardly any tools available that would help Thunderbird do this function with any kind of ease at all! Then I learned that Oracle provided us with OpenOffice...then stumbled on your article and now with just a few short clicks, our EA is up and going and I've just learned a new skill set!
THANK YOU SO MUCH!!
Theresa
Posted by: Theresa Amaral | October 20, 2008 at 05:14 PM
Glad to help! The core info for this piece of ingenuity actually came from the fine brain of Randy Orwin, of Bainbridge Island School District.
Solveig
Posted by: Solveig | October 21, 2008 at 01:06 PM
This is great - thanks a ton. One question though - we'd like to include a logo in the mail, and that doesn't seem to work. Is this only for plaintext, or is there some way to make this work for in-line images as well?
Thanks and regards / Sreevidya
Posted by: Sreevidya- | October 21, 2008 at 07:18 PM
Hi,
I'm working in Open Office 3 and Mac OSX and I've tried three separate email accounts to try and get the email mail merge working. I can't establish a network connection. Since this blog is one of the few places I've found giving tutorials, can you refer me to where I might be able to get help with this.
Thanks
Ryan
Posted by: Ryan Earl | November 08, 2008 at 06:15 PM
Hi Ryan,
I had a lot of trouble getting it to work on my own, but then my very expert colleague Randy Orwin gave me the port settings and it worked beautifully. All I can say is if you get the port settings right under Tools > Options, that's the key. You might need different ones for your accounts....though I'm not sure whether contacting the chat help for your isp would be that helpful.
Posted by: Solveig | November 09, 2008 at 06:39 AM
Thank you so much, Solveig.
This tutorial on an email merge is just what the doctor ordered. I've been looking for something exactly like this for a while now, so that my wife and I can produce a newsletter. Yours is an extra special bonus because it makes use of my favorite office suite. I'm a techie, but I'm lost when it comes to office software productivity.
Are you coming out with updated versions of your books for OpenOffice 3.0 by any chance?
Posted by: Daniel Lynes | November 11, 2008 at 09:43 PM
I'm working in Open Office 3 and Windows XP Professional and I've tried several times with my gmail account to get the email mail merge working. I can't establish a network connection.
I get following message while doing the 'Test Account Settings' test:
OpenOffice.org could not connect to the outgoing mail server. Check your system's settings and the settings in OpenOffice.org. Check the server name, the port and the secure connections settings.
I will appreciate if you can refer me to where I might be able to get help with this.
Regards,
Saheeb
Posted by: Saheeb | January 14, 2009 at 07:16 PM
Hi Saheeb,
You need to do it with an email client such as Thunderbird. I think there's a way to hook thunderbird to gmail, but I'm not sure where I heard it. Then check the port settings for thunderbird/gmail and it should work.
Solveig
Posted by: Solveig | January 19, 2009 at 06:25 PM
If I'm using Microsoft Exchange server for email, do you know if email merging in OpenOffice is still possible, or does this only work with SMTP?
Posted by: Charlie Bryan | January 23, 2009 at 08:03 AM
Please help!!! How can I have an attachment sent with the mail merge.
Love ya all
Posted by: Sebastian | February 10, 2009 at 08:13 PM
Hi, I need to email merge BUT to be able to draw contact data for cc to recipients unique to the main recipients held on an excel spreadsheet and to filter which main recipient to send to. Haven't found anything so far - anyone help?
Posted by: jan | February 23, 2009 at 12:12 PM
Let me asked one question. In which version of OpenOffice this guide for ?
I used OpenOffice version 3.0.1 and I missed 1 step in Mail Merge Wizard i.e step No.2 "Select Document Type". Also in the Open Office Writer configuration I can't find "Mail Merge Email" item to setup "User Information"
Am I used wrong version of Open Office ?
Posted by: Adrie Taniwidjaja | May 04, 2009 at 06:07 AM
Hi Adrie,
It's been in for a while; I'm using 3.0.1 and Document Type and Mail Merge Email are both in it.
Solveig
Posted by: Solveig | May 04, 2009 at 10:53 AM
I am using OpenOffice 3.0.0 from Fedora 10, and I can't find this email merge. And then I read your tutorial and I check that indeed openoffice.org-emailmerge was not on my system, so I am update my OpenOffice through "yum install openoffice.org-emailmerge-3.0.1-15.3.fc10.i386" command. After this my OpenOffice became 3.0.1. But still I can't found this e-mail merge section. My Tools --> MailMerge Wizard -- just displaying 7 step only while I saw on your tutorial there should be 8 step.
What's wrong with my OpenOffice ?
Is that any difference betwen OpenOffice build by Fedora and the original Download ?
Posted by: Adrie Taniwidjaja | May 05, 2009 at 03:16 AM
Posted by: Sebastian | February 10, 2009 at 08:13 PM
Hi, I need to email merge BUT to be able to draw contact data for cc to recipients unique to the main recipients held on an excel spreadsheet and to filter which main recipient to send to. Haven't found anything so far - anyone help?
I have this same problem, but I can only tell you a work around that did not work: having my SQL concatenate the To and Cc addresses separated by a semicolon and using the result for the To field of the OO Writer mailmerge setup. It just told me this was an invalid address, even though I could copy the query results into my Outlook To and it worked ... so if someone has a solution I would be interested as well!
Posted by: Chris | May 07, 2009 at 08:12 AM
hi, have been trying to use mail merge in OOO 3.1. Every time it give me a error msg saying cant find outgoing mail server. I can use the same setting with MS-Office. can anyone guide me on the same.
Posted by: harpal singh | June 25, 2009 at 01:31 AM
Hey, thanks. This function has always been the biggest reason I have shied away from OO. Haven't paid attention to changes to know it was possible until I stumbled on this post. WooHoo!
Posted by: Terri Orlowski | June 30, 2009 at 08:42 PM
Great tutorial! Just what I needed.
However, is there any way to stop it from inserting double line breaks?
It happens to me and it appears to happen to you in the screenshot.
Posted by: Andy | August 05, 2009 at 10:51 PM
Hi Andy,
I don't know how to prevent that from happening, I think it's just one of those issues that happens when you use two different programs. You just need to compose the email with no spaces between the lines and that should take care of it.
Posted by: Solveig | August 06, 2009 at 07:02 AM
It is cool. Thank.
Posted by: yacht phuket | October 06, 2009 at 12:19 AM
I have mapped my mail account to open office mail merge. This was a trial email account. Now I need to map my corporate email account to mail merge. However when i am performing the mail merge, it is automatically sending the email through the previous trial account. Can you please let me know, how to change this email account in the open office writer-mail merge settings.
Thank you.
Regards
Ameya
Posted by: Ameya Nisal | November 02, 2009 at 03:05 AM
Thanks for the great tutorial. It took me a while to realize that I could not find "New - Database" because OpenOffice Base is not installed by default on my Ubuntu 9.10! But after installing that, it worked great.
Regards,
Mike
Posted by: Mike__B | December 04, 2009 at 04:23 AM
Is there any way to attach files when sending?
Posted by: Bjørn | January 20, 2010 at 12:42 PM
I'm trying to an email merge and keep getting the following error. Please help. I'm using Openoffice 3.2.
: 'ascii' codec can't encode character u'\xa0' in position 9: ordinal not in range(128), traceback follows
:1 in function sendall() [None]
C:\Program Files\OpenOffice.org 3\Basis\program\python-core-2.6.1\lib\smtplib.py:305 in function send() [self.sock.sendall(str)]
C:\Program Files\OpenOffice.org 3\Basis\program\python-core-2.6.1\lib\smtplib.py:318 in function putcmd() [self.send(str)]
C:\Program Files\OpenOffice.org 3\Basis\program\python-core-2.6.1\lib\smtplib.py:457 in function rcpt() [self.putcmd("rcpt","TO:%s%s" % (quoteaddr(recip),optionlist))]
C:\Program Files\OpenOffice.org 3\Basis\program\python-core-2.6.1\lib\smtplib.py:703 in function sendmail() [(code,resp)=self.rcpt(each, rcpt_options)]
C:\Program Files\OpenOffice.org 3\Basis\program\mailmerge.py:193 in function sendMailMessage() [self.server.sendmail(sendermail, truerecipients, msg.as_string())]
Posted by: Marlene | May 30, 2010 at 05:14 PM
Hi Marlene,
It looks like you probably need to reinstall OpenOffice or else try some different email setup settings. I've never seen that. Good luck!
Solveig
Posted by: Solveig | June 07, 2010 at 01:23 PM