View Single Post
  #5   Report Post  
Posted to microsoft.public.word.mailmerge.fields
wildaboutmn
 
Posts: n/a
Default E-mail merge doesn't work

Thanks for your response, Doug!

The Merge to E-mail option is actually there, and I can fill in the "To",
"Subject line", and "Format" fields, it's just that nothing happens when I
click OK. I did go through the suggestions below and verify that
everything's present as expected in the win.ini and the registry.

I'm trying to send the message in HTML format (which is my default Outlook
format as well), but for fun, I checked to see what would happen with Format
= Plain Text and Format = Attachment. I get "a program is trying to access
addresses stored in Outlook" and "a program is trying to send e-mail on your
behalf", and then both messages made it to my Outbox, but didn't get sent. I
can open the messages and send them manually from the Outbox.

Which all leads me to believe that the HTML format is running into a
security thing, but I don't have any idea where to begin fixing that...


--
Kate


"Doug Robbins - Word MVP" wrote:

Former Word MVP Peter Jamieson, who still occasionally frequents these
groups took an interest in e-mailing from mail merge and his advice in this
situation was:

First, make sure that the e-mail program you want to use is set up to be the
default e-mail program (e.g. via Internet Explorer|Tools|Internet
Options|Programs, and send at least one message using it.

Then Word needs some stuff in WIN.INI and/or in the Windows registry
before it will show you the E-mail option. I believe that for Word 2003 it
needs to be in the Windows registry, but that may depend also on the version
of Windows so it is probably better to put the information in both places.

For WIN.INI,
a. find the WIN.INI file in your Windows folder (typically c:\WINDOWS),
make a backup copy of it, and open it in Notepad.
b. ensure that the following text is in there, and add it if not

[Mail]
MAPI=1
CMCDLLNAME32=mapi32.dll
CMCDLLNAME=mapi.dll
CMC=1
MAPIX=1
MAPIXVER=1.0.0.1
OLEMessaging=1

You will need to close all copies of Word before this change has a chance of
taking effect. It is probably safest to restart Windows to be completely
sure.

If that isn't enough, you will need to edit the registry. Proceed with
caution!

c. In your Windows folder, locate and run regedit.exe. If you're on an
older version of Windows you might need to use regedt32.exe.

Look for a key called

HKEY_LOCAL_MACHINE\SOFTWARE\MiĀ*crosoft\Windows Messaging Subsystem

I would be surprised if it was not there in recent versions of Windows, but
if it is not, add it.

If it is there, I would expect to see
d. a subkey claled MSMapiApps
e. a number of "values" with the same names as are in the above list -
MAPI, MAPIX etc.
f. an additional value called InstallCmd

If you cannot see the (e) values, you need to add them. For each of the
values in the above list
g. right click "Windows Messaging Subsystem" and select New|String Value.
Note that although some of these items have numeric values, they should all
be entered as String Values.
h. enter the name, as above
i. double click on the name. A dialog box appears. Enter the value (e.g.
for the name CMCDLLNAME, enter mapi.dll) and click OK
j. You may also need to create the InstallCmd value, although I rather
doubt it. I am less sure about this and about what should go in there. On my
system, the value is:
rundll32 setupapi,InstallHinfSection MSMAIL 132 msmail.inf

When you have done them all, press F5. Then close all copies of Word and
restart it - or restart Windows, then restart Word and see if the e-mail
option has appeared.


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"wildaboutmn" wrote in message
...
Yes, I can merge to another document and to the printer, but not to
e-mail.
Thanks!
--
Kate


"Doug Robbins - Word MVP" wrote:

Does the merge work if you execute it to a new document?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"wildaboutmn" wrote in message
...
I'm attempting an e-mail merge of a Word doc to Outlook using an Excel
datasource. All are Office 2003 SP2 on XP, latest updates applied. This
same
e-mail merge worked just fine about 3 months ago, but now when I run
the
merge, nothing happens.

Troubleshooting ideas? Thanks!

--
Kate