[thelist] HTML Newsletter Blank in WebMail Clients

Liam Delahunty ldelahunty at britstream.com
Wed May 8 04:10:00 CDT 2002


Gina K. Anderson wrote:

Liam,

Okay, this script is PHPList located at http://www.phplist.com.

function system_messageHeaders() {
  $message_from_address = getConfig("message_from_address");
  $subscribe_additional_headers = "From: $message_from_address\n";
  $message_replyto_address = getConfig("message_replyto_address");
  if ($message_replyto_address)
    $subscribe_additional_headers .= "Reply-To: $message_replyto_address\n";
  else
    $subscribe_additional_headers .= "Reply-To: $message_from_address\n";
  $subscribe_additional_headers .= "X-Mailer: PHPlist version ".VERSION."
(www.phplist.com)\n";
  return $subscribe_additional_headers;
}


Gina,

The headers look okay but you could try changing those \n to \r\n. Though
this isn't likely to make much difference but best to do it right. ;) See
http://www.zend.com/manual/function.mail.php
"You must use \r\n to seperate headers, although some Unix mail transfer
agents may work with just a single newline (\n)."

Now, you might want to generate a new HTML email and post to the web mail
clients to see if they receive general html emails okay. Try it this way:
1. go to a live web page, say
http://www.papocketpets.com/newsletter/template_html.html
2. select all (cntl+a)
3. now go to outlook and open a new email,
4. change it to html format (format > html),
5. and paste in the web page (cntl+v).
6. Now send that to one of the bad clients and see if it works.

That way you will be able to see if it's a issue with mail you are sending
or html email in general. Some web based email clients don't output html and
often re-render it (such as talk21.com), I presume this is to stop some of
the exploits that were going around a while back. Let's us know the
results...

Good luck!

Kind regards,
Liam Delahunty
Mega Products Limited, 10-11 Moor Street, London W1D 5NF
t: 020 7434 4201/2 f: 0870 135 8412 m: 07941 589 061
http://www.liamdelahunty.com/ web/ design/ database/ programming
http://www.britstream.com/ Hosting/ Domain Names From UKP 7.50 p.a.



|-----Original Message-----
|From: thelist-admin at lists.evolt.org
|[mailto:thelist-admin at lists.evolt.org]On Behalf Of Liam Delahunty
|Sent: Tuesday, May 07, 2002 5:15 PM
|To: thelist at lists.evolt.org
|Subject: RE: [thelist] HTML Newsletter Blank in WebMail Clients
|
|
|Gina K. Anderson wrote:
|
|<quote>
|I'm in the test phase of my HTML newsletter project here, and found a
snafu.
|It
|display great in Outlook and such programs, but is a blank white space in
|web
|mail clients like SprintPCS's and Mail.com.
|
|[snip]
|http://www.papocketpets.com/newsletter/template_html.html
|
|</quote>
|
|It's probably a \r\n missing in the headers, I dare say that Outlook and so
|forth are more tolerant than web mail clients can be. Also make sure that
|your to and subject don't have \r or \n.
|
|What headers are being set for the php script that creates and sends the
|email?
|
|http://www.zend.com/manual/function.mail.php
|
|http://www.webmasterbase.com/article/679/24
|
|http://www.phpbuilder.com/columns/kartic20000807.php3
|
|
|Kind regards,
|Liam
|---
|Outgoing mail is certified Virus Free.
|Checked by AVG anti-virus system (http://www.grisoft.com).
|Version: 6.0.351 / Virus Database: 197 - Release Date: 19/04/2002
|
|--
|For unsubscribe and other options, including
|the Tip Harvester and archive of thelist go to:
|http://lists.evolt.org Workers of the Web, evolt !
|
|

--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.360 / Virus Database: 199 - Release Date: 07/05/2002




More information about the thelist mailing list