perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerald Richter - ECOS <>
Subject RE: Embperl::Mail not using the proper Date: Header format (2.1.0)
Date Thu, 15 Apr 2010 03:35:39 GMT
Hi Kee,


it is not fixed yet. 


If you have a fix I will include it in the next release, otherwise I will put it on the TODO
list and hopefully have the time to fix it before the next release







From: Kee Hinckley [] 
Sent: Wednesday, April 14, 2010 11:24 PM
Subject: Embperl::Mail not using the proper Date: Header format (2.1.0)


       $smtp->datasend("Date: " . _quote_hdr(Embperl::get_date_time(), $enc) . "\n")
or die "smtp datasend failed" ;


That's returning something with the format:


April 14, 2010 5:12:12 PM EDT


The correct format for email is


Wed, 14 Apr 2010 17:12:12 -0400


And it matters, because it increases the spam value of the mail in spam filters.

(It would be nice if Embperl::Mail constructed a valid Message-ID while it was at it, but
at least that I can override, I can't override the Date:)


$VERSION = '2.1.0';

#   $Id: 344310 2005-11-15 05:22:19Z richter $


My apologies if this is fixed in newer versions, that's what the Ubuntu I was on pulled over,
and I've been in a rush moving a site from a 8-year-old version to something relatively new
on very short notice.


Kee Hinckley

Owner, Somewhere LLC.


View raw message