Opened 3 years ago

Last modified 3 years ago

#41 new defect

CRINmail multipart email contain CSS in the plain text version

Reported by: chris Owned by: chris
Priority: major Milestone: Maintenance
Component: drupal Version:
Keywords: Cc: mori, peter, jenny, gillian, andrew
Estimated Number of Hours: 0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0.15

Description

CRINmail, which are sent by Drupal, have a HTML and plain text version, the plain text version contains CSS at the top, which takes a while to scroll through and makes it less likely that people with mail user agents set to display the plain text version first will read the newsletter, for example:

Return-Path: <info@crin.org>
Received: from mail.webarch.net ([unix socket])
        by mail.webarch.net (Cyrus v2.3.7-Invoca-RPM-2.3.7-16.el5_11) with LMTPA;
        Thu, 10 Sep 2015 00:19:23 +0100
X-Sieve: CMU Sieve 2.3
Received: from elderberry.rat.burntout.org (mx.webarch.net [81.95.52.71])
        (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
        (Client did not present a certificate)
        by mail.webarch.net (Postfix) with ESMTPS id A7BFB100072
        for <chris@webarchitects.co.uk>; Thu, 10 Sep 2015 00:19:23 +0100 (BST)
Received: from crin2.crin.org ([93.95.228.180])
        by elderberry.rat.burntout.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128)
        (Exim 4.80)
        (envelope-from <info@crin.org>)
        id 1ZZoe5-00056h-Dl
        for chris@webarchitects.co.uk; Thu, 10 Sep 2015 00:19:23 +0100
Received: from www-data by crin2.crin.org with local (Exim 4.84)
        (envelope-from <info@crin.org>)
        id 1ZZoe4-0006TK-78
        for chris@webarchitects.co.uk; Wed, 09 Sep 2015 23:19:16 +0000
To: chris@webarchitects.co.uk
Subject: CRINmail 1445
X-PHP-Originating-Script: 1005:mimemail.module
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="8a276e6c6a6f9459ea8c98217bf4e986"
Content-Transfer-Encoding: 8Bit
X-Mailer: Drupal
Sender: CRIN <info@crin.org>
From: CRIN <info@crin.org>
List-Unsubscribe: <http://www.crin.org/en/newsletter/confirm/remove/XXX>
Precedence: bulk
Message-Id: <E1ZZoe4-0006TK-78@crin2.crin.org>
Date: Wed, 09 Sep 2015 23:19:16 +0000

[-- Attachment #1 --]
[-- Type: multipart/alternative, Encoding: 8bit, Size: 73K --]
Content-Type: multipart/alternative;
    boundary="f5f8c71876cf7825d95e748d55f23268"
Content-Transfer-Encoding: 8bit

Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

-------- CRINMAIL 1445 -------------------------------------------------------

#nl_wrapper {background-color:#EFEFEF;}#nl_wrapper table,
#nl_wrapper td  {
   font-family:Verdana, Arial, Helvetica;
   line-height:150%;
   font-size:10px;
   margin: 0;
}
#nl_wrapper td img{
   margin: 0;
}
#nl_wrapper .headerTop {
background-color:#FFCC66; border-top:0px solid #000000; border-bottom:1px
solid #FFFFFF; text-align:center;
}
#nl_wrapper .adminText {
font-size:10px; color:#996600; line-height:200%; font-family:Verdana, Arial,
Helvetica; text-decoration:none;
}
#nl_wrapper .headerBar {
background-color:#FFFFFF; border-top:0px solid #333333; border-bottom:10px
solid #FFFFFF;
}
#nl_wrapper .title {
font-size:20px; font-weight:bold; color:#CC6600; font-family:Verdana, Arial,
Helvetica; line-height:150%;
}
#nl_wrapper .subTitle {
font-size:11px; font-weight:normal; color:#666666; font-style:italic;
font-family:arial;
}
#nl_wrapper td {
font-size:11px; color:#000000; line-height:150%; font-family:Verdana, Arial,
Helvetica;
}
#nl_wrapper .sideColumn {
background-color:#FFFFFF; border-left:1px dashed #CCCCCC; text-align:left;
}
#nl_wrapper .sideColumnText {
font-size:11px; font-weight:normal; color:#AAAAAA; font-family:Verdana,
Arial, Helvetica; line-height:150%;
}
#nl_wrapper .sideColumnTitle {
font-size:15px; font-weight:bold; color:#333333; font-family:Verdana, Arial,
Helvetica; line-height:150%;
}
#nl_wrapper .footerRow {
background-color:#FFFFCC; border-top:10px solid #FFFFFF;
}
#nl_wrapper .footerText {
font-size:10px; color:#996600; line-height:100%; font-family:Verdana, Arial,
Helvetica;
}
#nl_wrapper h1,
#nl_wrapper h2  {
   color:#888888;font-size:20px;font-weight:bold;font-family:Arial,
Helvetica;margin:0 0 10px 0; line-height:150%;
}
#nl_wrapper h2  { font-size:15px; margin:23px 0 10px 0; padding-top:8px;
border-top:1px solid #EFEFEF;}
#nl_wrapper p   {margin:10px 0;
font-size:11px;color:#333333;font-family:Verdana, Arial, Helvetica;
line-height:150%;}
#nl_wrapper a,
#nl_wrapper table td p a,
#nl_wrapper #crintable a,
#nl_wrapper #crintable a:visited { color:#1155cc; /* color:#003a6a;*/ }
#nl_wrapper a:hover,
#nl_wrapper table td p a:hover,
#nl_wrapper #crintable a:hover{color:#000;}
#nl_wrapper ul,
#nl_wrapper li,
#nl_wrapper
#crintable ul   {margin:0; padding:0; list-style:none; list-style-image:none;
list-style-type:none}
#nl_wrapper ul li,
#nl_wrapper #crintable ul li,
#nl_wrapper #CMrightcol ul li
{font-size:11px;color:#333333;background-image:url(http://crin.org/i/crinmail/bg_bullet.gif);
background-repeat:no-repeat; background-position:2px
center;font-family:Verdana, Arial, Helvetica;  margin:0; list-style:none;
list-style-type:none; padding:0 0 0 20px; margin:13px 0;}
#nl_wrapper div.FB,                                                                                     #nl_wrapper div.FB p    { margin:10px 0}
#nl_wrapper div.FB h2   {color:#5e768b; font-size:16px; margin:0;}
#nl_wrapper #crintable table td {
vertical-align: top;
}
#nl_wrapper h3.h3image{
   background-repeat: no-repeat;
   background-position: center right;
}










   http://crin.org

09 September 2015
subscribe http://crin.org/node/41907 | subscribe http://crin.org/node/293 |
submit information http://crin.org/en/home/about/contact-us
======== *CRINMAIL 1445* =====================================================

-------- IN THIS ISSUE: ------------------------------------------------------

*The year in children's rights:*
CRIN annual report 2015 #AR

*Latest news and reports* #news
- Discrimination on school grounds #dis
- Criminalising children for sexting #crim
- Access to bathrooms denied #ac
- States leave migrant children unprotected #sta
- Issues neglected by UN committees #iss
- UN calls for submissions #un
- Contribute to evaluation of CRIN’s work #cont

*Access to justice for children in Ireland* #a2j

*Upcoming events* #events

*Employment* #jbs

/Problems viewing this CRINmail? Click here
https://www.crin.org/en/home/what-we-do/crinmail/crinmail-1445. /

*/CRIN announcement/*

/We are aware that some of our readers may be receiving blank CRINmails. This
is due to our website experiencing some technical issues, which we are
working to resolve. Should you receive a blank or incomplete CRINmail, you
can also access the latest edition via our website here
https://www.crin.org/en/home/what-we-do/crinmail. /

Also note that the list unsub header contains a HTTP URL when this would be better as a HTTPS one for privacy reasons:

List-Unsubscribe: <http://www.crin.org/en/newsletter/confirm/remove/XXX>

Change History (2)

comment:1 follow-up: Changed 3 years ago by jenny

Hi Chris,
For this one, please could you include Gillian and Andrew as they are helping to track costs.
Thanks
Jenny

Sent from my iPhone

> On 10 Sep 2015, at 11:07, CRIN Trac <trac@trac.crin.org> wrote:
> 
> #41: CRINmail multipart email contain CSS in the plain text version
> ------------------------------+-----------------------------------------
>           Reporter:  chris   |                      Owner:  chris
>               Type:  defect  |                     Status:  new
>           Priority:  major   |                  Milestone:  Maintenance
>          Component:  drupal  |                    Version:
>           Keywords:          |  Estimated Number of Hours:  0
> Add Hours to Ticket:  0       |                  Billable?:  1
>        Total Hours:  0       |
> ------------------------------+-----------------------------------------
> CRINmail, which are sent by Drupal, have a HTML and plain text version,
> the plain text version contains CSS at the top, which takes a while to
> scroll through and makes it less likely that people with mail user agents
> set to display the plain text version first will read the newsletter, for
> example:
> 
> {{{
> Return-Path: <info@crin.org>
> Received: from mail.webarch.net ([unix socket])
>         by mail.webarch.net (Cyrus v2.3.7-Invoca-RPM-2.3.7-16.el5_11) with
> LMTPA;
>         Thu, 10 Sep 2015 00:19:23 +0100
> X-Sieve: CMU Sieve 2.3
> Received: from elderberry.rat.burntout.org (mx.webarch.net [81.95.52.71])
>         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
>         (Client did not present a certificate)
>         by mail.webarch.net (Postfix) with ESMTPS id A7BFB100072
>         for <chris@webarchitects.co.uk>; Thu, 10 Sep 2015 00:19:23 +0100
> (BST)
> Received: from crin2.crin.org ([93.95.228.180])
>         by elderberry.rat.burntout.org with esmtps
> (TLS1.2:RSA_AES_128_CBC_SHA1:128)
>         (Exim 4.80)
>         (envelope-from <info@crin.org>)
>         id 1ZZoe5-00056h-Dl
>         for chris@webarchitects.co.uk; Thu, 10 Sep 2015 00:19:23 +0100
> Received: from www-data by crin2.crin.org with local (Exim 4.84)
>         (envelope-from <info@crin.org>)
>         id 1ZZoe4-0006TK-78
>         for chris@webarchitects.co.uk; Wed, 09 Sep 2015 23:19:16 +0000
> To: chris@webarchitects.co.uk
> Subject: CRINmail 1445
> X-PHP-Originating-Script: 1005:mimemail.module
> MIME-Version: 1.0
> Content-Type: multipart/mixed; boundary="8a276e6c6a6f9459ea8c98217bf4e986"
> Content-Transfer-Encoding: 8Bit
> X-Mailer: Drupal
> Sender: CRIN <info@crin.org>
> From: CRIN <info@crin.org>
> List-Unsubscribe: <http://www.crin.org/en/newsletter/confirm/remove/XXX>
> Precedence: bulk
> Message-Id: <E1ZZoe4-0006TK-78@crin2.crin.org>
> Date: Wed, 09 Sep 2015 23:19:16 +0000
> 
> [-- Attachment #1 --]
> [-- Type: multipart/alternative, Encoding: 8bit, Size: 73K --]
> Content-Type: multipart/alternative;
>     boundary="f5f8c71876cf7825d95e748d55f23268"
> Content-Transfer-Encoding: 8bit
> 
> Content-Type: text/plain; charset=utf-8
> Content-Disposition: inline
> Content-Transfer-Encoding: 8bit
> 
> -------- CRINMAIL 1445
> -------------------------------------------------------
> 
> #nl_wrapper {background-color:#EFEFEF;}#nl_wrapper table,
> #nl_wrapper td  {
>    font-family:Verdana, Arial, Helvetica;
>    line-height:150%;
>    font-size:10px;
>    margin: 0;
> }
> #nl_wrapper td img{
>    margin: 0;
> }
> #nl_wrapper .headerTop {
> background-color:#FFCC66; border-top:0px solid #000000; border-bottom:1px
> solid #FFFFFF; text-align:center;
> }
> #nl_wrapper .adminText {
> font-size:10px; color:#996600; line-height:200%; font-family:Verdana,
> Arial,
> Helvetica; text-decoration:none;
> }
> #nl_wrapper .headerBar {
> background-color:#FFFFFF; border-top:0px solid #333333; border-bottom:10px
> solid #FFFFFF;
> }
> #nl_wrapper .title {
> font-size:20px; font-weight:bold; color:#CC6600; font-family:Verdana,
> Arial,
> Helvetica; line-height:150%;
> }
> #nl_wrapper .subTitle {
> font-size:11px; font-weight:normal; color:#666666; font-style:italic;
> font-family:arial;
> }
> #nl_wrapper td {
> font-size:11px; color:#000000; line-height:150%; font-family:Verdana,
> Arial,
> Helvetica;
> }
> #nl_wrapper .sideColumn {
> background-color:#FFFFFF; border-left:1px dashed #CCCCCC; text-align:left;
> }
> #nl_wrapper .sideColumnText {
> font-size:11px; font-weight:normal; color:#AAAAAA; font-family:Verdana,
> Arial, Helvetica; line-height:150%;
> }
> #nl_wrapper .sideColumnTitle {
> font-size:15px; font-weight:bold; color:#333333; font-family:Verdana,
> Arial,
> Helvetica; line-height:150%;
> }
> #nl_wrapper .footerRow {
> background-color:#FFFFCC; border-top:10px solid #FFFFFF;
> }
> #nl_wrapper .footerText {
> font-size:10px; color:#996600; line-height:100%; font-family:Verdana,
> Arial,
> Helvetica;
> }
> #nl_wrapper h1,
> #nl_wrapper h2  {
>    color:#888888;font-size:20px;font-weight:bold;font-family:Arial,
> Helvetica;margin:0 0 10px 0; line-height:150%;
> }
> #nl_wrapper h2  { font-size:15px; margin:23px 0 10px 0; padding-top:8px;
> border-top:1px solid #EFEFEF;}
> #nl_wrapper p   {margin:10px 0;
> font-size:11px;color:#333333;font-family:Verdana, Arial, Helvetica;
> line-height:150%;}
> #nl_wrapper a,
> #nl_wrapper table td p a,
> #nl_wrapper #crintable a,
> #nl_wrapper #crintable a:visited { color:#1155cc; /* color:#003a6a;*/ }
> #nl_wrapper a:hover,
> #nl_wrapper table td p a:hover,
> #nl_wrapper #crintable a:hover{color:#000;}
> #nl_wrapper ul,
> #nl_wrapper li,
> #nl_wrapper
> #crintable ul   {margin:0; padding:0; list-style:none; list-style-
> image:none;
> list-style-type:none}
> #nl_wrapper ul li,
> #nl_wrapper #crintable ul li,
> #nl_wrapper #CMrightcol ul li
> {font-size:11px;color:#333333;background-
> image:url(http://crin.org/i/crinmail/bg_bullet.gif);
> background-repeat:no-repeat; background-position:2px
> center;font-family:Verdana, Arial, Helvetica;  margin:0; list-style:none;
> list-style-type:none; padding:0 0 0 20px; margin:13px 0;}
> #nl_wrapper div.FB,
> #nl_wrapper div.FB p    { margin:10px 0}
> #nl_wrapper div.FB h2   {color:#5e768b; font-size:16px; margin:0;}
> #nl_wrapper #crintable table td {
> vertical-align: top;
> }
> #nl_wrapper h3.h3image{
>    background-repeat: no-repeat;
>    background-position: center right;
> }
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>    http://crin.org
> 
> 09 September 2015
> subscribe http://crin.org/node/41907 | subscribe http://crin.org/node/293
> |
> submit information http://crin.org/en/home/about/contact-us
> ======== *CRINMAIL 1445*
> =====================================================
> 
> -------- IN THIS ISSUE:
> ------------------------------------------------------
> 
> *The year in children's rights:*
> CRIN annual report 2015 #AR
> 
> *Latest news and reports* #news
> - Discrimination on school grounds #dis
> - Criminalising children for sexting #crim
> - Access to bathrooms denied #ac
> - States leave migrant children unprotected #sta
> - Issues neglected by UN committees #iss
> - UN calls for submissions #un
> - Contribute to evaluation of CRIN’s work #cont
> 
> *Access to justice for children in Ireland* #a2j
> 
> *Upcoming events* #events
> 
> *Employment* #jbs
> 
> /Problems viewing this CRINmail? Click here
> https://www.crin.org/en/home/what-we-do/crinmail/crinmail-1445. /
> 
> */CRIN announcement/*
> 
> /We are aware that some of our readers may be receiving blank CRINmails.
> This
> is due to our website experiencing some technical issues, which we are
> working to resolve. Should you receive a blank or incomplete CRINmail, you
> can also access the latest edition via our website here
> https://www.crin.org/en/home/what-we-do/crinmail. /
> 
> }}}
> 
> Also note that the list unsub header contains a HTTP URL when this would
> be better as a HTTPS one for privacy reasons:
> 
> {{{
> List-Unsubscribe: <http://www.crin.org/en/newsletter/confirm/remove/XXX>
> }}}
> 
> --
> Ticket URL: <https://trac.crin.org.archived.website/trac/ticket/41>
> CRIN Trac <https://trac.crin.org.archived.website/trac>
> Trac project for CRIN website and servers.

comment:2 in reply to: ↑ 1 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0 to 0.15
  • Cc gillian andrew added
  • Total Hours set to 0.15

Replying to jenny:

For this one, please could you include Gillian and Andrew as they are helping to track costs.

I have created a Trac account for Andrew and added him and Gillian as CCs for this ticket.

Note: See TracTickets for help on using tickets.