Solved

Outlook showing raw HTML

Posted on 2010-08-20
8
1,589 Views
Last Modified: 2012-05-10
We have a device that monitors our electrical usage that sends a report to selected users. The report is sent in HTML.
Viewing from the Web (OWA) I (and the user) can view the email fine. HTML shows up perfectly formatted.
However, in Outlook (I use 2010, he uses 2003, it happens in both), it shows raw HTML code.
Attached is an example of the code. I've poked around at options in Outlook, and everything seems to have HTML enabled. I've searched around online and haven't found many applicable answers. Please suggest anything you think I can check.


--<<<---==+X[9ac4908c4a23f5fb764670a7448a7f7e]
Content-Type: multipart/alternative; boundary="<<<---==+X[9ac4908c4a23f5fb764670a7448a7f7e]_alt"

--<<<---==+X[9ac4908c4a23f5fb764670a7448a7f7e]_alt
Content-Type: text/plain; encoding=iso-8859-1
Content-Transfer-Encoding: 8bit

This email requires html emails to be enabled --<<<---==+X[9ac4908c4a23f5fb764670a7448a7f7e]_alt
Content-Type: text/html; encoding=iso-8859-1
Content-Transfer-Encoding: 8bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"">
		<title>Eniscope Analytics Email Alert</title>
	</head>
	<body style="font-family:'Helvetica';font-size: 12px;color:#666666;">
		<table>
			<tr height="54">
				<td><img src="http://dev.eniscope.com/public/images/eniscopeEmail.png" width="172" height="32" /></td>
				<td style="text-align:right; font-weight: bold; font-size: 14px;">Daily Report</td>
			</tr>
			<tr>
				<td colspan="2">
					<table border=2 bordercolor="#CCCCCC" cellpadding=3 cellspacing=0 width=631 height=493>
						<tr height="32" style="background-color:#DDDDDD">
							<td style="border-width: 0; font-weight: bold;" colspan="6" class="bold">Friday 20th August 2010 at 15:45</td>
						</tr>
						<tr height="44" style="text-align:center" valign="bottom">
							<td style="border-width: 0;" colspan="2">You have used</td>
							<td style="border-width: 0; padding-left:40px" colspan="2">You have spent</td>
							<td style="border-width: 0;" colspan="2">Your CO2 emissions have been</td>
						</tr>
						<tr height="71" style="text-align:center" valign="top">
							<td style="border-width: 0; font-weight: bold; font-size: 36px; border-bottom: 2px #CCCCCC solid;" colspan="2">0.00 kWh</td>
							<td style="border-width: 0; padding-left:40px; font-weight: bold; font-size: 36px; border-bottom: 2px #CCCCCC solid;" colspan="2">code: 8<br />message: Undefined offset:  0<br />file: /var/www/vhosts/eniscope.com/subdomains/dev/httpdocs/application/view/Graph/emailTemplate.phtml<br />line: 26<br />context: Array<br />code: 8<br />message: Trying to get property of non-object<br />file: /var/www/vhosts/eniscope.com/subdomains/dev/httpdocs/application/view/Graph/emailTemplate.phtml<br />line: 26<br />context: Array<br />0.00</td>
							<td style="border-width: 0; font-weight: bold; font-size: 36px; border-bottom: 2px #CCCCCC solid;" colspan="2">0.00 kg</td>
						</tr>
						
						<tr height="213">
							<td colspan="6" style="border-width: 0; padding:10px;text-align:center;" valign="top">
								<table style="text-align:left" border=0 bordercolor="#CCCCCC" cellpadding=10 cellspacing=0 width="100%">		
									<tr height="61" valign="bottom">
										<td colspan="6" style="padding:3px; color:#FF613B; font-size:18px">Meter Location</td>
									</tr>
									<tr height="23" style="text-align:right">
										<td style="padding-top:0; font-weight: bold; border-bottom: 2px #CCCCCC solid;" width="243" colspan="3">&nbsp;</td>
										<td style="padding-top:0; font-weight: bold; border-bottom: 2px #CCCCCC solid;">Yesterday's Average kW</td>
										<td style="padding-top:0; font-weight: bold; border-bottom: 2px #CCCCCC solid;">This Week's Average kW</td>
										<td style="padding-top:0; font-weight: bold; border-bottom: 2px #CCCCCC solid;">Yesterday's Cost</td>
									</tr>
									<!-- List of Eniscopes -->
																		<!-- End of Eniscope List -->
									<tr height="32" style="text-align:right">
										<td colspan="3">&nbsp;</td>
										<td style="font-weight: bold;">0.00 kW</td>
										<td style="font-weight: bold;">0.00 kW</td>
										<td style="font-weight: bold;">code: 8<br />message: Undefined offset:  0<br />file: /var/www/vhosts/eniscope.com/subdomains/dev/httpdocs/application/view/Graph/emailTemplate.phtml<br />line: 56<br />context: Array<br />code: 8<br />message: Trying to get property of non-object<br />file: /var/www/vhosts/eniscope.com/subdomains/dev/httpdocs/application/view/Graph/emailTemplate.phtml<br />line: 56<br />context: Array<br />0.00</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr height="68">
							<td colspan="6" style="border-width: 0; padding:15px; background-color:#99CC00; font-size:16px; border-style: solid; border-color:#FFFFFF; border-width: 4px"><a href="http://www.eniscope.com" class="bold" style="color:#666666">Login to Analytics</a> to view more information</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>

--<<<---==+X[9ac4908c4a23f5fb764670a7448a7f7e]_alt--

Open in new window

0
Comment
Question by:FloydTheDuck
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 76

Expert Comment

by:David Lee
ID: 33486548
Hi, FloydTheDuck.

Open one of these messages and look at the top of the message window.  Is the message opening in HTML or plain-text format?
0
 
LVL 1

Author Comment

by:FloydTheDuck
ID: 33487646
Plain Text
0
 
LVL 76

Accepted Solution

by:
David Lee earned 500 total points
ID: 33487735
I thought that might be the case.  For some reason the message is arriving in plain-text format instead of HTML.  The item may not be marked properly when it's sent or there may be something on the recipient's end that's changing the format.  It's hard to say for sure, but since it's happening to two of you I'd say the problem is at the originating end.  

The workaround is to edit the message and change the format to HTML.  Outlook actually stores three representations of each message: HTML, plain-text, and Rich-text.  A setting in the message properties tells Outlook which version to display.  
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 1

Author Comment

by:FloydTheDuck
ID: 33488083
If it is the originating end, how would it work in OWA (Outlook Web Acess) via web browser?
0
 
LVL 76

Expert Comment

by:David Lee
ID: 33488127
I'll preface this comment with an admission that it's been a couple of years since I last used OWA and don't clearly remember how it works in the realm of rendering messages.  My guess is that the messages render properly in OWA because as a web app it only shows HTML.  
0
 
LVL 1

Author Comment

by:FloydTheDuck
ID: 33513639
Sent an email to the creator of the email asking them to troubleshoot on their end. I will post results when I find more info.
0
 
LVL 1

Author Closing Comment

by:FloydTheDuck
ID: 33671579
The problem was at the originating end. Thanks for the guidance.
0
 
LVL 76

Expert Comment

by:David Lee
ID: 33677029
You're welcome.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question