{ QUOTE { INCLUDEPICTURE http://www.mysite.com/myimage.jpg
\*MERGEFORMATINET \d } }
or something like the following, which was posted by someone else with
a simiar problem
{ QUOTE { INCLUDEPICTURE http://mywebsite/mypicture.jpg \d
\*MERGEFORMAT } \* MERGEFORMAT }
All the {} need to be the special field braces you can insert using ctrl-F9.
One of them may work if you just want to send a link to a single image (i.e.
all
the e-mails link to the same image). If you need each e-mail to link to a
different image, you /may/ be able to replace the URL by a mergefield
containing the URL, e.g.
{ QUOTE { INCLUDEPICTURE "{ MERGEFIELD picureURL }"
\*MERGEFORMATINET \d } }
or maybe something like
{ QUOTE { INCLUDEPICTURE "{ MERGEFIELD picureURL }" \d
\*MERGEFORMAT } \* MERGEFORMAT }
You may also have to uncheck Word Tools|Options|General|Web
Options|Files|Update links on save.
Peter Jamieson
"RGBglobal" <RGBg...@discussions.microsoft.com> wrote in message
news:5838802D-0C2C-4838...@microsoft.com...
Thanks for your quick response. I tried the two methods.
The first method made no difference. The html generated showed
src="cid:pub_res_files/image002.jpg
where I was expecting
src="http://www.rgbglobal.com/eMailAssets/Logo.jpg"
The second method did make a difference.
The coded generate showed
src="cid:http://www.rgbglobal.com/eMailAssets/Logo.jpg"
Where I was hopping for
src="http://www.rgbglobal.com/eMailAssets/Logo.jpg"
Any other ideas?
=========================================
It's not always easy to tell which Outlook settings affect messages
generated by Word mailmerge and which do not.
In this case, that appears to do the trick, but I am now not sure what the
exact field syntax you need and don't have time to look right now.
Peter Jamieson
"RGBglobal" <RGBg...@discussions.microsoft.com> wrote in message
news:F22EFE5F-3108-4E16...@microsoft.com...
Whether cid:http://whatever even makes sense, I couldn't tell you - if it
doesn't, then arguably it's an error in Outlook that someone in an Outlook
group might know more about.
The only other suggestions I can make are:
a. Have another go with the \d syntax - make sure you execute all the field
codes first
b. compare version numbers: I'm running Word 11.8106.8107, Outlook
11.8118.8107, and Windows XP Tablet Edition (for most intents and purposes,
= Win XP Pro) SP2 (build 5.1.2600). I'm not aware of any particular build
with this particular problem, though.
Peter Jamieson
"RGBglobal" <RGBg...@discussions.microsoft.com> wrote in message
news:17890488-53D8-4EB2...@microsoft.com...
I realized I had Word Tools|Options|General|Web|Options|Files|Update links
on save Still Checked. But unchecking it made no difference.
With the generated field syntax as: {INCLUDEPICTURE
"http://www.rgbglobal.com/eMailAssets/Logo.jpg" \* MERGEFORMATINET }
The \d switch placed between INCLUDEPICTURE and the url generates
src="cid:http://www.rgbglobal.com/eMailAssets/2.jpg" in the ViewSource of the
outboud email.
The \d switch placed between the url and the \* resizes does the same.
The \d switch placed between the \* and MERGEFORMATINET gives Error! Switch
argument not specified.
The \d switch placed after MERGEFORMATINET generates src=cid:http://...
Removing \* MERGEFORMATINET generates src="cid:pub_res_files/image001.jpg
I also created a new Word document to test by creating new fields by using
Word|Insert|Fields|IncludePicture and testing the 4 checkbox combination as
follows:
DataNotStoredWithDocument unchecked and PreserveFormattingDuringUpdates
checked (the default) the field generated was:
{ INCLUDEPICTURE "http://www.rgbglobal.com/eMailAssets/2.jpg" \*
MERGEFORMAT }
DataNotStoredWithDocument checked and PreserveFormattingDuringUpdates checked
{ INCLUDEPICTURE "http://www.rgbglobal.com/eMailAssets/2.jpg" \d \*
MERGEFORMAT }
DataNotStoredWithDocument unchecked and PreserveFormattingDuringUpdates
unchecked
{ INCLUDEPICTURE "http://www.rgbglobal.com/eMailAssets/2.jpg" }
DataNotStoredWithDocument checked and PreserveFormattingDuringUpdates
unchecked
{ INCLUDEPICTURE "http://www.rgbglobal.com/eMailAssets/2.jpg" \d }
But that did not help at all.
Perhaps I should buy a product not written by MS, then I might have a
fighting chance!
Thanks Peter
==================================
I found the same thing. Nor did changing any of the options in Word
Tools|Options|general|E-mail options.
The thing that worked here simply had
{ QUOTE { INCLUDEPICTURE "http://whatever" \d } }
No \*MERGEFORMAT or \*MERGEFORMATINET (which are really supposed to be a
single Word).
I'm also pretty sure that it makes no difference, when you get to the merge,
whether your document has been saved as a .htm (with supporting files), .htm
(stripped) or .doc. (I didn't look at the .mht situation).
I've been trying to think what else in Outlook might result in the image
being sent as a MIME part. But I don't know the application that well.
However, my example is very simple and as far as I can see, Outlook does not
need to create any other MIME parts. I'm just wondering whether in your case
some other part is being created (i.e. nothing to do with /this/ image) and
then Outlook is wrongly using a cid. Just clutching at a straw!
> Perhaps I should buy a product not written by MS, then I might have a
> fighting chance!
Someone in here mentioned they'd used MAPILab's product to solve another
HTML-related problem. I don't do recommendations (not for free, anyway!) but
it might be worth a look.
Peter Jamieson
"RGBglobal" <RGBg...@discussions.microsoft.com> wrote in message
news:1D3012A8-E145-4AE8...@microsoft.com...
I do have MAPIlab MailMergeToolKit and I am having not much more success.
I created the field { QUOTE {INCLUDEPICTURE
"http://www.rgbglobal.com/eMailAssets/eMailHeader.jpg" \d } }
In my case, when I use the Word MailMerge function I get the ViewSource shows
<p class=MsoNormal><img width=720 height=208 id="_x0000_i1026"
src="cid:image0...@01C75060.131A6D50"></p> . The image stills displays
fine.
When I use MAPIlab MailMergeToolkit, I get
<p class=MsoNormal><img width=720 height=208
src="cid:http://www.rgbglobal.com/eMailAssets/eMailHeader.jpg"></p>. Of
course this displaying a placeholder with a redX.
By the way the MailMergeToolkit is a great product if you want to MailMerge
with attachments.
Yes. Here's the source I'm seeing with exactly the fields I have mentioned
before and nothing else (if I add more stuff to the mail merge main
document, it still works though :-) :
-------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content=Word.Document name=ProgId>
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<META content="Microsoft Word 11" name=Originator><LINK
href="cid:fileli...@01C75091.6623F120" rel=File-List><LINK
href="cid:editdata.mso" rel=Edit-Time-Data><!--[if !mso]>
<STYLE>v\:* {
BEHAVIOR: url(#default#VML)
}
o\:* {
BEHAVIOR: url(#default#VML)
}
w\:* {
BEHAVIOR: url(#default#VML)
}
.shape {
BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
<o:DoNotOrganizeInFolder/>
<o:PixelsPerInch>72</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Print</w:View>
<w:Zoom>200</w:Zoom>
<w:DisplayBackgroundShape/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:UseFELayout/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]-->
<STYLE>@font-face {
font-family: SimSun;
}
@font-face {
font-family: @SimSun;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 1.0in 1.0in 1.0in 1.0in;
mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman";
mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family:
SimSun
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman";
mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family:
SimSun
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman";
mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family:
SimSun
}
P.MsoPlainText {
FONT-SIZE: 8pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New";
mso-pagination: widow-orphan; mso-fareast-font-family: SimSun;
mso-bidi-font-size: 10.0pt
}
LI.MsoPlainText {
FONT-SIZE: 8pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New";
mso-pagination: widow-orphan; mso-fareast-font-family: SimSun;
mso-bidi-font-size: 10.0pt
}
DIV.MsoPlainText {
FONT-SIZE: 8pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New";
mso-pagination: widow-orphan; mso-fareast-font-family: SimSun;
mso-bidi-font-size: 10.0pt
}
DIV.Section1 {
page: Section1
}
OL {
MARGIN-BOTTOM: 0in
}
UL {
MARGIN-BOTTOM: 0in
}
</STYLE>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]--></HEAD>
<BODY lang=EN-GB style="tab-interval: .5in">
<DIV class=Section1>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><IMG id=_x0000_i1026 height=601
src="http://www.goodworth.org/images/birchadvert1.JPG"
width=451></SPAN></FONT></P></DIV></BODY></HTML>
-------------------------------------------------
Peter Jamieson
"RGBglobal" <RGBg...@discussions.microsoft.com> wrote in message
news:E42CA710-490A-4AB8...@microsoft.com...