[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Poco Forums • View topic - HTML Gobbledy-gook

HTML Gobbledy-gook

Help and advice on using PocoMail

Moderators: Eric, Tomas, robin

HTML Gobbledy-gook

Postby SFCurley » Thu Sep 23, 2004 1:53 am

I often receive newsletters that in the last few versions of PM now have something like to following at the beginning of the email followed by the normal newsletter content. Is this related to the way poco handles HTML for security purposes. Not a problem for me, but am just curious. Thanks.

Example:

http://www.lockergnome.com/images/blockquote.gif) no-repeat left top; } blockquote p { font-size: 9pt; } body { color: #000; margin: 10px; padding: 0; background: #fff url(http://www.lockergnome.com/images/background-gnome.gif) no-repeat fixed top left; font: 9pt verdana, sans-serif; scrollbar-base-color: #DAE6F1; } caption { padding-top: 20px; white-space: nowrap; font: bold 9pt "Courier New", "Lucida Console", monospace; } h1 { border: 4px double #647D9D; padding: 2px 10px 2px 10px; text-transform: capitalize; background: #DAE6F1; font: bold 11pt arial, "arial narrow", helvetica, sans-serif; } h2 { border-bottom: 4px double #647D9D; border-top: 4px double #647D9D; margin-top: 40px; padding: 2px 10px; text-transform: capitalize; background: #DAE6F1; font: bold 11pt arial, "arial narrow", helvetica, sans-serif; } h3 { border-bottom: 2px solid #E8BA00; border-top: #E8BA00 2px solid; margin-bottom: -5px; margin-top: 40px; padding: 2px 10px; text-transform: capitalize; background: #FFF8DC; font: bold 11pt arial, "arial narrow", helvetica, sans-serif; } h4 { border-bottom: 2px solid #E8BA00; border-top: #E8BA00 2px solid; margin-top: 40px; padding: 2px 10px; text-transform: capitalize; background: #FFF8DC; font: bold 11pt arial, "arial narrow", helvetica, sans-serif; } hr { color: #edeef5; } input { font-size: 8pt; } p { font-size: 10pt; line-height: 16pt; } textarea { clear: none; float: none; font: 8pt verdana; } .adHeadline { color: #00f; font-size: 8pt; font-weight: bold; } .adstrip { background: #f1f1f1; border-color: #000; border-spacing: 0; border-style: none; } .adstrip_link { color: #a00; text-align: center; padding-bottom: 20px; text-decoration: underline; font: bold 10pt verdana; } .adText { display: block; font-size: 8pt; line-height: 12pt; margin-bottom: -10px; text-decoration: none; } .backtotop { color: #000080; font-size: 8pt; text-align: right; text-decoration: none; } .blogad { background: #f1f1f1; text-align: left; } .blogad_headline { border-spacing: 0; color: #000; text-align: center; margin: 10px 0 0 0; font: bold 10pt verdana; } .blogad_link { color: #00f; padding-bottom: 20px; text-decoration: underline; font: bold 10pt verdana; } .blogad_text { border-spacing: 0; color: #000; text-align: left; margin: 0 0 0 0; font: 7pt verdana; } .blogad_thumbnail { border: none; border-spacing: 0; text-align: left; } .caldayoff { font: 9pt "Courier New", "Lucida Console", monospace; } .caldayon { font: 9pt "Courier New", "Lucida Console", monospace; } .calendar { float: left; margin: 10px; font: 9pt "Courier New", "Lucida Console", monospace; } .calheader { background: #F0F0F0; padding: 5px; font: 9pt "Courier New", "Lucida Console", monospace; } .centercontent p, .newslettercontent p { font-size: 9pt; line-height: 16pt; margin-bottom: 15px; } .em { color: #f00; font-variant: small-caps; } .font10 { font: 10px arial, verdana, helvetica, sans-serif; } .font11 { font: 11px/13px arial, verdana, helvetica, sans-serif; } .menulist { border: none; font-size: 8pt; list-style: none; margin: 0 0 30px 5px; padding: 0; } .menutitle, .menutitle a, .menutitle a:hover, .adstrip_title { color: #fff; margin-bottom: 5px; padding-bottom: 3px; padding-top: 3px; text-align: center; width: 100%; text-decoration: none; text-transform: capitalize; background: #122D61 url("http://www.lockergnome.com/header_images/homepage_sub_header_bg.gif"); font: bold 9pt arial, helvetica, sans-serif; } .newslettersidebar { background: #f1f1f1; border-bottom: 2px solid #000; border-left: 2px solid #000; font-size: 8pt; line-height: 18px; padding: 15px 15px 100px; width: 145px; } .newslettersidebar li { margin-bottom: 12px; } .outlines { border: solid 1px #000; } .pg_a { color: #00f; text-decoration: none; } .pg_black { color: #00f; } .pg_red { color: #00f; } .pg_white { color: #00f; font-weight: bold; } .small, .url { font-size: 8pt; line-height: 16pt; text-align: left; } .syndicate { background: #f60; border: 1px solid; border-color: #fc9 #630 #330 #f96; color: #fff; font: bold 10px verdana, sans-serif; margin: 0; padding: 0 3px; text-decoration: none; } .textad { border: 4px solid #000; margin: 20px 0 15px 0; padding: 10px; background: #fff8dc; } .textad p { text-align: left; } .toplinks { color: #F1F1F1; font-size: 10px; margin-bottom: 5px; text-align: center; } .toplinks a { color: #000; font-weight: bold; text-decoration: none; } .toplinks a:hover { text-decoration: underline; } #author { color: #808080; font-size: 8pt; } #backissues { background: transparent; } #bodybox { padding: 0; } #centercontent { margin-bottom: 50px; margin-left: 165px; margin-right: 172px; margin-top: 0px; padding-left: 20px; padding-right: 20px; } #centercontent ul { list-style-type: square; text-align: left; } #centercontent ul, #centercontent ol, .textad ul { font-size: 8pt; line-height: 16pt; margin-bottom: 15px; } #footer { clear: none; font-size: 8pt; font-weight: bold; line-height: 16pt; margin: 20px 185px; padding-top: 20px; text-align: justify; } #h1 { border-bottom: 4px double #647D9D; border-top: 4px double #647D9D; margin-bottom: -5px; margin-top: 0; padding: 2px 10px; text-transform: capitalize; background: #DAE6F1; font: bold 11pt arial, "arial narrow", helvetica, sans-serif; } #header { border: 0; font-family: verdana, sans-serif; font-weight: bold; margin: 0px 0px 20px 0px; padding: 0; } #leftcontent { background: #f1f1f1; border: 2px solid #000; float: left; font-size: 8pt; line-height: 18px; padding: 8px 8px 40px; width: 155px; } #leftcontent p, #rightcontent p, td, tr, th { font-size: 8pt; line-height: 16pt; } #newslettercontent { color: #000; font-size: 9pt; padding: 15px; text-align: justify; } #rightcontent { background: #f1f1f1; border: 2px solid #000; float: right; font-size: 8pt; line-height: 18px; padding: 6px 6px 40px; width: 155px; } #rightcontent li { font-size: 8pt; margin-bottom: 12px; }
SFCurley
 

Postby robin » Thu Sep 23, 2004 2:12 am

Is that exactly how the message starts or have you extracted part of it? What you are seeing is the style information embedded in the message, but if that is exactly how it starts then the HTML is malformed because the opening tags are missing...

Code: Select all
<html>
<head></head>
<body>...etc etc
(you get the picture)

which is why PocoMail can't display it.

What do you see if you right-click and choose View Raw Message?
robin
 

Postby Ian » Thu Sep 23, 2004 2:16 am

I am a reader of lockergnome and see this strangeness too.

The good news is that I am beta testing 3.2 and the problem appears to have been fixed in that, so hang on for a short while and all will be well!


Ian
Ian
Poco Tourist
 
Posts: 37
Joined: Sun Jul 25, 2004 8:15 pm
Location: Newbury, UK

Postby SFCurley » Thu Sep 23, 2004 2:49 am

Here's the first half of the message copied by opening the mbx file in notepad:

To: <email@suppressed.com>
Return-Path: <lockergnome_15CFD4EBD4389AD76FD3ABEB4F9C1BC3@response.whatcounts.com>
Received: from vmmr6.netsolmail.com (vmmr6.netsolmail.com [10.166.0.197])
by ms7.netsolmail.com (Mirapoint Messaging Server MOS 3.2.2-GA)
with ESMTP id CJM05371;
Thu, 23 Sep 2004 02:51:05 -0400 (EDT)
Received: from imr2.netsolmail.com (vmbmnat.netsolmail.com [216.168.230.170])
by vmmr6.netsolmail.com (Mirapoint Messaging Server MOS 3.2.2-GA)
with ESMTP id ABW01801;
Thu, 23 Sep 2004 02:53:50 -0400 (EDT)
Received: from lockergnome.wc09.net (lockergnome.wc09.net [63.214.0.205])
by imr2.netsolmail.com (8.12.10/8.12.10) with ESMTP id i8N6opbU028215
for <email@suppressed.com>; Thu, 23 Sep 2004 02:50:52 -0400 (EDT)
Message-Id: <200409230650.i8N6opbU028215@imr2.netsolmail.com>
Received: from nile.whatcounts.com (192.168.0.50) by lockergnome.wc09.net (PowerMTA(TM) v2.0r1) id ha9nhu054e41; Wed, 22 Sep 2004 22:55:02 -0700 (envelope-from <lockergnome_15CFD4EBD4389AD76FD3ABEB4F9C1BC3@response.whatcounts.com>)
Date: 22 Sep 2004 22:35:54 PDT
Reply-To: "Lockergnome" <lockergnome_15CFD4EBD4389AD76FD3ABEB4F9C1BC3@response.whatcounts.com>
X-Mailer: WhatCounts
X-Account: SCurley
Delivery-Date: Thu, 23 Sep 2004 07:31:32
Status: U
X-Poco-Score: +10
X-Poco-Score-Detail: +10 [%BAYES%=P=100;T=99;BIAS=+30] (%bayes% P=100;T=99;Bias=+30)
X-Poco-Scored: +10
Subject: Lockergnome's Tech News Watch ~ September 22, 2004
Mime-Version: 1.0
Content-Type: text/html; charset="windows-1252"
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html
xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head>
<title> Lockergnome's Tech News Watch ~ September
22, 2004 </title> <style> a { color:
#900; text-decoration: underline; } a:hover { color: #000080;
text-decoration: none; } a:active { text-decoration: none; }
a.adstrip_link:hover { color: #f00; text-decoration: none; }
a.adstrip_link:active { color: #f00; text-decoration: none; }
a.adstrip_link:visited, a.adstrip_link:link, a.blogad_link:active,
a.blogad_link:link, a.blogad_link:visited, { text-decoration:
underline; } a.blogad_link:hover { text-decoration: none; } acronym
{ color: #008000; } blockquote{ color: #666666; font-style:
italic; font-size: 9pt; line-height: 16pt; margin: 16px 0 0 0;
background: url(http://www.lockergnome.com/images/blockquote.gif)
no-repeat left top; }

blockquote p { font-size: 9pt; }

body { color: #000; margin: 10px; padding: 0; background: #fff
url(http://www.lockergnome.com/images/background-gnome.gif) no-repeat
fixed top left; font: 9pt verdana, sans-serif;
scrollbar-base-color: #DAE6F1; } caption { padding-top: 20px;
white-space: nowrap; font: bold 9pt "Courier New", "Lucida Console",
monospace; } h1 { border: 4px double #647D9D; padding: 2px 10px
2px 10px; text-transform: capitalize; background: #DAE6F1; font:
bold 11pt arial, "arial narrow", helvetica, sans-serif; } h2 {
border-bottom: 4px double #647D9D; border-top: 4px double #647D9D;
margin-top: 40px; padding: 2px 10px; text-transform: capitalize;
background: #DAE6F1; font: bold 11pt arial, "arial narrow",
helvetica, sans-serif; } h3 { border-bottom: 2px solid #E8BA00;
border-top: #E8BA00 2px solid; margin-bottom: -5px; margin-top:
40px; padding: 2px 10px; text-transform: capitalize; background:
#FFF8DC; font: bold 11pt arial, "arial narrow", helvetica,
sans-serif; } h4 { border-bottom: 2px solid #E8BA00; border-top:
#E8BA00 2px solid; margin-top: 40px; padding: 2px 10px;
text-transform: capitalize; background: #FFF8DC; font: bold 11pt
arial, "arial narrow", helvetica, sans-serif; } hr { color: #edeef5;
} input { font-size: 8pt; } p { font-size: 10pt; line-height:
16pt; } textarea { clear: none; float: none; font: 8pt verdana;
} .adHeadline { color: #00f; font-size: 8pt; font-weight: bold;
} .adstrip { background: #f1f1f1; border-color: #000;
border-spacing: 0; border-style: none; } .adstrip_link { color:
#a00; text-align: center; padding-bottom: 20px; text-decoration:
underline; font: bold 10pt verdana; } .adText { display: block;
font-size: 8pt; line-height: 12pt; margin-bottom: -10px;
text-decoration: none; } .backtotop { color: #000080; font-size:
8pt; text-align: right; text-decoration: none; } .blogad {
background: #f1f1f1; text-align: left; } .blogad_headline {
border-spacing: 0; color: #000; text-align: center; margin: 10px
0 0 0; font: bold 10pt verdana; } .blogad_link { color: #00f;
padding-bottom: 20px; text-decoration: underline; font: bold 10pt
verdana; } .blogad_text { border-spacing: 0; color: #000;
text-align: left; margin: 0 0 0 0; font: 7pt verdana; }
.blogad_thumbnail { border: none; border-spacing: 0; text-align:
left; } .caldayoff { font: 9pt "Courier New", "Lucida Console",
monospace; } .caldayon { font: 9pt "Courier New", "Lucida Console",
monospace; } .calendar { float: left; margin: 10px; font: 9pt
"Courier New", "Lucida Console", monospace; } .calheader {
background: #F0F0F0; padding: 5px; font: 9pt "Courier New",
"Lucida Console", monospace; } .centercontent p, .newslettercontent p
{ font-size: 9pt; line-height: 16pt; margin-bottom: 15px; } .em
{ color: #f00; font-variant: small-caps; } .font10 { font: 10px
arial, verdana, helvetica, sans-serif; } .font11 { font: 11px/13px
arial, verdana, helvetica, sans-serif; } .menulist { border: none;
font-size: 8pt; list-style: none; margin: 0 0 30px 5px; padding:
0; } .menutitle, .menutitle a, .menutitle a:hover, .adstrip_title {
color: #fff; margin-bottom: 5px; padding-bottom: 3px;
padding-top: 3px; text-align: center; width: 100%;
text-decoration: none; text-transform: capitalize; background:
#122D61
url("http://www.lockergnome.com/header_images/homepage_sub_header_bg.gif");
font: bold 9pt arial, helvetica, sans-serif; } .newslettersidebar {
background: #f1f1f1; border-bottom: 2px solid #000; border-left:
2px solid #000; font-size: 8pt; line-height: 18px; padding: 15px
15px 100px; width: 145px; } .newslettersidebar li { margin-bottom:
12px; } .outlines { border: solid 1px #000; } .pg_a { color: #00f;
text-decoration: none; } .pg_black { color: #00f; } .pg_red {
SFCurley
 

Postby robin » Thu Sep 23, 2004 4:13 am

From what you have posted it seems that PM might be dropping out of displaying the HTML for some reason but if, as Ian says, 3.2 fixes it then wait 'til then. FWIW the style sheet looks very convoluted.

A thought - there is a script shipped with PM to let you view a message in a browser - if you have the time what does it look like in a browser window (although I think I know the answer)?
robin
 

Postby Ian » Thu Sep 23, 2004 5:06 am

Well, I've just downloaded the latest beta and it's back to how it was!

How disappointing!

I'll post in the beta forum about it.


Ian

Edit: PS it looks fine when viewed in browser
Ian
Poco Tourist
 
Posts: 37
Joined: Sun Jul 25, 2004 8:15 pm
Location: Newbury, UK

Postby Pete » Thu Sep 23, 2004 8:07 am

As Robin said, I also don't see the beginning tags such as <html>.
Pete
 

Postby COD » Thu Sep 23, 2004 8:51 am

The begining tags are there
<html
xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> but I don 't see an closing html or body tag.

Although I wonder about the "legality" of the xtra stuff in the hmtl tag. It looks like lockergnome is writing in a Microsoft application.

I've pretty much eliminated all email newsletter from my life. RSS works so much better for that kind of stuff.
COD
Resident Poster
 
Posts: 154
Joined: Mon Jul 26, 2004 2:49 am
Location: Fredericksburg, VA

Postby robin » Thu Sep 23, 2004 8:13 pm

COD wrote:The begining tags are there
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> but I don 't see an closing html or body tag.
They are there if you are able to look at the whole message.

COD wrote:Although I wonder about the "legality" of the xtra stuff in the hmtl tag. It looks like lockergnome is writing in a Microsoft application.
The stuff in the HTML tag is legal for an XHTML document, which this is.
robin
 


Return to PocoMail Help and How-To

Who is online

Users browsing this forum: No registered users and 1 guest

cron