NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013522phplist applicationHTML Email Supportpublic29-02-08 08:2329-04-11 15:15
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version 
Target Version2.10.13Fixed in Version2.10.14 
Summary0013522: "powered by phplist" line in emails causes CSS style dump in Eudora for Mac
Descriptiontripper54 suggests this fix in [^]

I'm setting up a list for a company here in Sydney. Unfortunately, the CEO uses Eudora for Mac, which, as we all know, has no support for CSS. This meant the "powered by phplist" line at the bottom of the email was preceded in his nasty email client by a dump of the contents of the associated <style> tag.

I was able to fix this using the old trick of adding comment markup to relevant php in connect.php. My altered code follows (between the dashes):


$PoweredByText = '
<style type="text/css"><!--
.poweredphplist {font-family: arial, verdana, sans-serif;font-size : 10px; font-variant: small-caps; font-weight : normal; padding: 2px; padding-left:20px;}
a:visited.poweredphplist {font-family: Arial, verdana, sans-serif; font-size : 10px; font-variant: small-caps; font-weight : normal; color : #666666; text-align : center; text-decoration : none; padding: 2px;}
a:hover.poweredphplist {color : #7D7B7B;}
<span class="poweredphplist">powered by [^] v '.$v.', ©</span>'; [^]


Perhaps this should be rolled into the next version?

****END QUOTE****
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
h2b2 (manager)
29-02-08 08:25

On a related note tjmb suggests this in [^]


Since Webmail services such as Gmail, Yahoo, and Hotmail tend to strip out or disable <style> elements in HTML e-mail, it might be worth considering changing the poweredphplist code entirely to something like:

<div style="clear: both; font-family: arial, verdana, sans-serif; font-size: 10px; font-variant: small-caps; font-weight: normal; padding: 2px; padding-left:20px;">powered by [^] v 2.10.4, ©</div> [^]

This will help prevent the Powered By div from ending up in an odd position within the mailing, and will help to ensure that most of the styling stays intact.

For details about what Gmail, Yahoo, et. al. do when rendering HTML email, see [^]

****END QUOTE****
michiel (manager)
29-04-11 15:14

done as suggested in 0013522:0041878 (thanks!)

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker