Register    Login    Search    Articles & downloads     Who We Are    Donate    Jaylach Free Sites

Board index » Technical Forums » General Computing




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post Posted: Mon Dec 10, 2012 7:15 pm 
Offline
Resident Geekazoid Administrator
User avatar

Joined: Wed Mar 21, 2012 5:09 am
Posts: 9438
Location: The state of confusion; I just use Wyoming for mail.
I know how to do this in versions of Outlook prior to 2007 but, unfortunately, with 2007 Outlook does not truly support HTML editing.

For example I had recent cause to want to insert the following in an email.
Code:
<a href="http://www.photogallery2.jaylach.com/v/jaylach/wyoming/sheridan/winterwonderland/IMG_0246+-1-small.jpg.html"><img src="http://www.photogallery2.jaylach.com/d/13835-2/IMG_0246+-1-small.jpg" alt="IMG_0246 -1-small" /></a>

I can easily do this in Outlook 2007 but it does not actually act on the HTML, it just displays it as text.

Does anyone know how to do such insertions? Why do I have this feeling that it is actually going to be a simple procedure that I'm just missing? ;) What I would want in the above code example is for the email to include a thumbnail image that is a link to a page on my photo site that actually holds the image. I know how to do this by using 'Insert' and then picture and giving the URL of the thumbnail, then selecting the image in the email and making it a link but I find this to be very cumbersome. What I'm after is the ability to directly insert the HTML.

_________________
Image
Free sites from jaylach.com
I NEVER forget... I just remember late.


Top 
 Profile  
Reply with quote  
 Post Posted: Mon Dec 10, 2012 9:15 pm 
Offline
Site Admin
User avatar

Joined: Tue Apr 10, 2012 9:48 pm
Posts: 2946
Location: New Jersey
How about this?
http://www.slipstick.com/tutorial/how-to-insert-a-text-or-html-file-into-a-message/
You create your code and save it to a file, then insert that code into a message.
I just tested it with your code and had to wrap it with body tags and save the file as .html and it worked great in Outlook 2010

-steve

_________________
stephen boots
Microsoft MVP 2004 - 2020
"Life's always an adventure with computers!"


Top 
 Profile  
Reply with quote  
 Post Posted: Tue Dec 11, 2012 2:13 am 
Offline
Resident Geekazoid Administrator
User avatar

Joined: Wed Mar 21, 2012 5:09 am
Posts: 9438
Location: The state of confusion; I just use Wyoming for mail.
OK... I'll have to try it with the ...
Code:
<html><head><body>..html code to be included...<body></head></html>

All included in the test file. I tried it with just the specific code without all the default tags and it failed. Mayhaps it is just more specific code sensitive than I expected. I'll let you know results soon.

_________________
Image
Free sites from jaylach.com
I NEVER forget... I just remember late.


Top 
 Profile  
Reply with quote  
 Post Posted: Tue Dec 11, 2012 7:01 am 
Offline
Site Admin
User avatar

Joined: Tue Apr 10, 2012 9:48 pm
Posts: 2946
Location: New Jersey
Don't include the wrapper tags for html.
I did it with the first tag being body.

Code:
<body><a href="http://www.photogallery2.jaylach.com/v/jaylach/wyoming/sheridan/winterwonderland/IMG_0246+-1-small.jpg.html"><img src="http://www.photogallery2.jaylach.com/d/13835-2/IMG_0246+-1-small.jpg" alt="IMG_0246 -1-small" /></a></body>

_________________
stephen boots
Microsoft MVP 2004 - 2020
"Life's always an adventure with computers!"


Top 
 Profile  
Reply with quote  
 Post Posted: Tue Dec 11, 2012 7:11 am 
Offline
Site Admin
User avatar

Joined: Tue Apr 10, 2012 9:48 pm
Posts: 2946
Location: New Jersey
Here's what the actual message renders as. I suppose you might try without the body tags, but your original didn't work.

Code:
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[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]--><style><!--
/* Font Definitions */
@font-face
   {font-family:Calibri;
   panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
   {font-family:Tahoma;
   panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
   {margin:0in;
   margin-bottom:.0001pt;
   font-size:11.0pt;
   font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
   {mso-style-priority:99;
   color:blue;
   text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
   {mso-style-priority:99;
   color:purple;
   text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
   {mso-style-priority:99;
   mso-style-link:"Balloon Text Char";
   margin:0in;
   margin-bottom:.0001pt;
   font-size:8.0pt;
   font-family:"Tahoma","sans-serif";}
span.EmailStyle17
   {mso-style-type:personal-compose;
   font-family:"Calibri","sans-serif";
   color:windowtext;}
span.BalloonTextChar
   {mso-style-name:"Balloon Text Char";
   mso-style-priority:99;
   mso-style-link:"Balloon Text";
   font-family:"Tahoma","sans-serif";}
.MsoChpDefault
   {mso-style-type:export-only;
   font-family:"Calibri","sans-serif";}
@page WordSection1
   {size:8.5in 11.0in;
   margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
   {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><a href="http://www.photogallery2.jaylach.com/v/jaylach/wyoming/sheridan/winterwonderland/IMG_0246+-1-small.jpg.html"><span style='color:blue;text-decoration:none'><img border=0 width=150 height=100 id="_x0000_i1026" src="cid:image001.jpg@01CDD765.D4824BB0" alt="IMG_0246 -1-small"></span></a><o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></body></html>

_________________
stephen boots
Microsoft MVP 2004 - 2020
"Life's always an adventure with computers!"


Top 
 Profile  
Reply with quote  
 Post Posted: Tue Dec 11, 2012 1:49 pm 
Offline
Resident Geekazoid Administrator
User avatar

Joined: Wed Mar 21, 2012 5:09 am
Posts: 9438
Location: The state of confusion; I just use Wyoming for mail.
OK, thanks Steve. Just using <body>...</body> works OK. Kind of haphazard as to what it wants. I would think that it would look for all the tags or none. ;)

_________________
Image
Free sites from jaylach.com
I NEVER forget... I just remember late.


Top 
 Profile  
Reply with quote  
 Post Posted: Tue Dec 11, 2012 11:30 pm 
Offline
Site Admin
User avatar

Joined: Tue Apr 10, 2012 9:48 pm
Posts: 2946
Location: New Jersey
Glad that I could help. ;-)
-steve

_________________
stephen boots
Microsoft MVP 2004 - 2020
"Life's always an adventure with computers!"


Top 
 Profile  
Reply with quote  
 Post Posted: Wed Dec 12, 2012 3:55 am 
Offline
Resident Geekazoid Administrator
User avatar

Joined: Wed Mar 21, 2012 5:09 am
Posts: 9438
Location: The state of confusion; I just use Wyoming for mail.
;) you usually tend to do so.

_________________
Image
Free sites from jaylach.com
I NEVER forget... I just remember late.


Top 
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 8 posts ] 

Board index » Technical Forums » General Computing


Who is online

Registered users: No registered users

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Similar topics


Jump to: