Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
I am trying to do a MailMerge using a Word HTML document which includes some
JPGs. I create links to the Pictures on the WEB and the source document does show the HTTP address in teh INCLUDEPICTURE field. However, after the MailMerge executed, and if I look at the source of the outbound messages in my SentItem list in Outlook, the IMG SRC tags contain a CID reference instead of the HTTP reference. How to I prevent the embedding of the image inside the message [IMG SRC = "CID:..."] html tag, or how do I force that the email goes out with the [IMG SRC = "HTTP ..."] html tag? |
#2
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
I also tried
{ INCLUDEPICTURE http://www.rgbglobal.com/eMailAssets/Logo.jpg \* MERGEFORMAT } it generated src="cid:http://www.rgbglobal.com/eMailAssets/Logo.jpg" "Peter Jamieson" wrote: See if one of the following still works - it used to but now I do not know: { 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" wrote in message ... I am trying to do a MailMerge using a Word HTML document which includes some JPGs. I create links to the Pictures on the WEB and the source document does show the HTTP address in teh INCLUDEPICTURE field. However, after the MailMerge executed, and if I look at the source of the outbound messages in my SentItem list in Outlook, the IMG SRC tags contain a CID reference instead of the HTTP reference. How to I prevent the embedding of the image inside the message [IMG SRC = "CID:..."] html tag, or how do I force that the email goes out with the [IMG SRC = "HTTP ..."] html tag? |
#3
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
I lost my last post #$^!
This POST was sent (lost) before the second (which now appears first) Thanks for your quick response. I tried the two methods. The first method made no difference. The html generated showed src="cid ![]() 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? ========================================= "Peter Jamieson" wrote: See if one of the following still works - it used to but now I do not know: { 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" wrote in message ... I am trying to do a MailMerge using a Word HTML document which includes some JPGs. I create links to the Pictures on the WEB and the source document does show the HTTP address in teh INCLUDEPICTURE field. However, after the MailMerge executed, and if I look at the source of the outbound messages in my SentItem list in Outlook, the IMG SRC tags contain a CID reference instead of the HTTP reference. How to I prevent the embedding of the image inside the message [IMG SRC = "CID:..."] html tag, or how do I force that the email goes out with the [IMG SRC = "HTTP ..."] html tag? |
#4
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
OK, try also unchecking Outlook|Tools|Options|"Mail Format"|"Internet
Format"|"When an HTML message contains pictures..." 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" wrote in message ... I lost my last post #$^! This POST was sent (lost) before the second (which now appears first) Thanks for your quick response. I tried the two methods. The first method made no difference. The html generated showed src="cid ![]() 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? ========================================= "Peter Jamieson" wrote: See if one of the following still works - it used to but now I do not know: { 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" wrote in message ... I am trying to do a MailMerge using a Word HTML document which includes some JPGs. I create links to the Pictures on the WEB and the source document does show the HTTP address in teh INCLUDEPICTURE field. However, after the MailMerge executed, and if I look at the source of the outbound messages in my SentItem list in Outlook, the IMG SRC tags contain a CID reference instead of the HTTP reference. How to I prevent the embedding of the image inside the message [IMG SRC = "CID:..."] html tag, or how do I force that the email goes out with the [IMG SRC = "HTTP ..."] html tag? |
#5
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Already unchecked.
Thanks anyway for your help. "Peter Jamieson" wrote: OK, try also unchecking Outlook|Tools|Options|"Mail Format"|"Internet Format"|"When an HTML message contains pictures..." 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" wrote in message ... I lost my last post #$^! This POST was sent (lost) before the second (which now appears first) Thanks for your quick response. I tried the two methods. The first method made no difference. The html generated showed src="cid ![]() 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? ========================================= "Peter Jamieson" wrote: See if one of the following still works - it used to but now I do not know: { 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" wrote in message ... I am trying to do a MailMerge using a Word HTML document which includes some JPGs. I create links to the Pictures on the WEB and the source document does show the HTTP address in teh INCLUDEPICTURE field. However, after the MailMerge executed, and if I look at the source of the outbound messages in my SentItem list in Outlook, the IMG SRC tags contain a CID reference instead of the HTTP reference. How to I prevent the embedding of the image inside the message [IMG SRC = "CID:..."] html tag, or how do I force that the email goes out with the [IMG SRC = "HTTP ..."] html tag? |
#6
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
OK, unfortunately nothing else I have tried gives me precisely the same
result as you, i.e. a cid: followed by an Internet URL rather than a reference to an image in a segment in a MIME message. With the aformentioned option unchecked, I get proper URLs of exactly the type you want. With it checked, I always get a cid:. 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 a 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" wrote in message ... Already unchecked. Thanks anyway for your help. "Peter Jamieson" wrote: OK, try also unchecking Outlook|Tools|Options|"Mail Format"|"Internet Format"|"When an HTML message contains pictures..." 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" wrote in message ... I lost my last post #$^! This POST was sent (lost) before the second (which now appears first) Thanks for your quick response. I tried the two methods. The first method made no difference. The html generated showed src="cid ![]() 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? ========================================= "Peter Jamieson" wrote: See if one of the following still works - it used to but now I do not know: { 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" wrote in message ... I am trying to do a MailMerge using a Word HTML document which includes some JPGs. I create links to the Pictures on the WEB and the source document does show the HTTP address in teh INCLUDEPICTURE field. However, after the MailMerge executed, and if I look at the source of the outbound messages in my SentItem list in Outlook, the IMG SRC tags contain a CID reference instead of the HTTP reference. How to I prevent the embedding of the image inside the message [IMG SRC = "CID:..."] html tag, or how do I force that the email goes out with the [IMG SRC = "HTTP ..."] html tag? |
#7
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
I have the same Outlook and Word build numbers.
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 ![]() 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 ================================== "Peter Jamieson" wrote: OK, unfortunately nothing else I have tried gives me precisely the same result as you, i.e. a cid: followed by an Internet URL rather than a reference to an image in a segment in a MIME message. With the aformentioned option unchecked, I get proper URLs of exactly the type you want. With it checked, I always get a cid:. 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 a 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" wrote in message ... Already unchecked. Thanks anyway for your help. "Peter Jamieson" wrote: OK, try also unchecking Outlook|Tools|Options|"Mail Format"|"Internet Format"|"When an HTML message contains pictures..." 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" wrote in message ... I lost my last post #$^! This POST was sent (lost) before the second (which now appears first) Thanks for your quick response. I tried the two methods. The first method made no difference. The html generated showed src="cid ![]() 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? ========================================= "Peter Jamieson" wrote: See if one of the following still works - it used to but now I do not know: { 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" wrote in message ... I am trying to do a MailMerge using a Word HTML document which includes some JPGs. I create links to the Pictures on the WEB and the source document does show the HTTP address in teh INCLUDEPICTURE field. However, after the MailMerge executed, and if I look at the source of the outbound messages in my SentItem list in Outlook, the IMG SRC tags contain a CID reference instead of the HTTP reference. How to I prevent the embedding of the image inside the message [IMG SRC = "CID:..."] html tag, or how do I force that the email goes out with the [IMG SRC = "HTTP ..."] html tag? |
#8
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
I realized I had Word Tools|Options|General|Web|Options|Files|Update links
on save Still Checked. But unchecking it made no difference. 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" wrote in message ... I have the same Outlook and Word build numbers. 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 ![]() 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 ================================== "Peter Jamieson" wrote: OK, unfortunately nothing else I have tried gives me precisely the same result as you, i.e. a cid: followed by an Internet URL rather than a reference to an image in a segment in a MIME message. With the aformentioned option unchecked, I get proper URLs of exactly the type you want. With it checked, I always get a cid:. 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 a 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" wrote in message ... Already unchecked. Thanks anyway for your help. "Peter Jamieson" wrote: OK, try also unchecking Outlook|Tools|Options|"Mail Format"|"Internet Format"|"When an HTML message contains pictures..." 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" wrote in message ... I lost my last post #$^! This POST was sent (lost) before the second (which now appears first) Thanks for your quick response. I tried the two methods. The first method made no difference. The html generated showed src="cid ![]() 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? ========================================= "Peter Jamieson" wrote: See if one of the following still works - it used to but now I do not know: { 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" wrote in message ... I am trying to do a MailMerge using a Word HTML document which includes some JPGs. I create links to the Pictures on the WEB and the source document does show the HTTP address in teh INCLUDEPICTURE field. However, after the MailMerge executed, and if I look at the source of the outbound messages in my SentItem list in Outlook, the IMG SRC tags contain a CID reference instead of the HTTP reference. How to I prevent the embedding of the image inside the message [IMG SRC = "CID:..."] html tag, or how do I force that the email goes out with the [IMG SRC = "HTTP ..."] html tag? |
#9
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Peter, when you say it works for you, do you mean that you see
[src="http://...] when you RightClick|ViewSource in the body of message in your Outlook|Sent Items? 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=MsoNormalimg width=720 height=208 id="_x0000_i1026" "/p . The image stills displays fine. When I use MAPIlab MailMergeToolkit, I get p class=MsoNormalimg 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. "Peter Jamieson" wrote: I realized I had Word Tools|Options|General|Web|Options|Files|Update links on save Still Checked. But unchecking it made no difference. 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" wrote in message ... I have the same Outlook and Word build numbers. 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 ![]() 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 ================================== "Peter Jamieson" wrote: OK, unfortunately nothing else I have tried gives me precisely the same result as you, i.e. a cid: followed by an Internet URL rather than a reference to an image in a segment in a MIME message. With the aformentioned option unchecked, I get proper URLs of exactly the type you want. With it checked, I always get a cid:. 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 a 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" wrote in message ... Already unchecked. Thanks anyway for your help. "Peter Jamieson" wrote: OK, try also unchecking Outlook|Tools|Options|"Mail Format"|"Internet Format"|"When an HTML message contains pictures..." 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" wrote in message ... I lost my last post #$^! This POST was sent (lost) before the second (which now appears first) Thanks for your quick response. I tried the two methods. The first method made no difference. The html generated showed src="cid ![]() 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? ========================================= "Peter Jamieson" wrote: See if one of the following still works - it used to but now I do not know: { 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" wrote in message ... I am trying to do a MailMerge using a Word HTML document which includes some JPGs. I create links to the Pictures on the WEB and the source document does show the HTTP address in teh INCLUDEPICTURE field. However, after the MailMerge executed, and if I look at the source of the outbound messages in my SentItem list in Outlook, the IMG SRC tags contain a CID reference instead of the HTTP reference. How to I prevent the embedding of the image inside the message [IMG SRC = "CID:..."] html tag, or how do I force that the email goes out with the [IMG SRC = "HTTP ..."] html tag? |
#10
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Peter, when you say it works for you, do you mean that you see
[src="http://...] when you RightClick|ViewSource in the body of message in your Outlook|Sent Items? 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 ![]() "urn:schemas-microsoft-com ![]() ![]() "urn:schemas-microsoft-com ![]() 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=OriginatorLINK " rel=File-ListLINK href="cid:editdata.mso" rel=Edit-Time-Data!--[if !mso] STYLEv\:* { 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 ![]() o ![]() o:PixelsPerInch72/o:PixelsPerInch /o:OfficeDocumentSettings /xml![endif]--!--[if gte mso 9]xml w:WordDocument w:ViewPrint/w:View w:Zoom200/w:Zoom w ![]() w:PunctuationKerning/ w:ValidateAgainstSchemas/ w:SaveIfXMLInvalidfalse/w:SaveIfXMLInvalid w:IgnoreMixedContentfalse/w:IgnoreMixedContent w:AlwaysShowPlaceholderTextfalse/w:AlwaysShowPlaceholderText w:Compatibility w:BreakWrappedTables/ w:SnapToGridInCell/ w:WrapTextWithPunct/ w:UseAsianBreakRules/ w ![]() w:UseFELayout/ /w:Compatibility w:BrowserLevelMicrosoftInternetExplorer4/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=MsoNormalFONT face="Times New Roman" size=3SPAN 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" wrote in message ... Peter, when you say it works for you, do you mean that you see [src="http://...] when you RightClick|ViewSource in the body of message in your Outlook|Sent Items? 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=MsoNormalimg width=720 height=208 id="_x0000_i1026" "/p . The image stills displays fine. When I use MAPIlab MailMergeToolkit, I get p class=MsoNormalimg 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. "Peter Jamieson" wrote: I realized I had Word Tools|Options|General|Web|Options|Files|Update links on save Still Checked. But unchecking it made no difference. 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" wrote in message ... I have the same Outlook and Word build numbers. 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 ![]() 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 ================================== "Peter Jamieson" wrote: OK, unfortunately nothing else I have tried gives me precisely the same result as you, i.e. a cid: followed by an Internet URL rather than a reference to an image in a segment in a MIME message. With the aformentioned option unchecked, I get proper URLs of exactly the type you want. With it checked, I always get a cid:. 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 a 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" wrote in message ... Already unchecked. Thanks anyway for your help. "Peter Jamieson" wrote: OK, try also unchecking Outlook|Tools|Options|"Mail Format"|"Internet Format"|"When an HTML message contains pictures..." 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" wrote in message ... I lost my last post #$^! This POST was sent (lost) before the second (which now appears first) Thanks for your quick response. I tried the two methods. The first method made no difference. The html generated showed src="cid ![]() 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? ========================================= "Peter Jamieson" wrote: See if one of the following still works - it used to but now I do not know: { 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" wrote in message ... I am trying to do a MailMerge using a Word HTML document which includes some JPGs. I create links to the Pictures on the WEB and the source document does show the HTTP address in teh INCLUDEPICTURE field. However, after the MailMerge executed, and if I look at the source of the outbound messages in my SentItem list in Outlook, the IMG SRC tags contain a CID reference instead of the HTTP reference. How to I prevent the embedding of the image inside the message [IMG SRC = "CID:..."] html tag, or how do I force that the email goes out with the [IMG SRC = "HTTP ..."] html tag? |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
format of email address within Word document, why changed? | Microsoft Word Help | |||
{ HYPERLINK "http:// | Microsoft Word Help | |||
Opening a doc via HTTP, only save can be done | New Users | |||
http 404 error on email | Microsoft Word Help |