roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vinutha (JIRA)" <nore...@atlassian.com>
Subject [Roller-JIRA] Created: (ROL-1578) I have a similar problem like this and in addition date in the Received header is in one format (2 sep 2000) and the daet in the date header is 2-sep-2000
Date Thu, 18 Oct 2007 07:20:22 GMT
I have a similar problem like this and in addition date in the Received header is in one format
(2 sep 2000) and the daet in the date header is 2-sep-2000
----------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: ROL-1578
                 URL: http://opensource.atlassian.com/projects/roller/browse/ROL-1578
             Project: Roller
          Issue Type: Bug
            Reporter: vinutha
            Assignee: Roller Unassigned


 Hi!

I had a small problem with the invitaions sent by roller. The generated mails did not contain
a date header, so Thunderbird assumed 01/01/1970 as sent date, and all generated mails ended
up on the bottom of my mail folder. Is this a bug or am I missing something here?

Since I was not able to find any information on this behaviour in the bug tracker or the mailing
list, I assume that this is a new problem.
Adding the date to the message object solved this issue for me, so here's my patch:

--- MailUtil.java 2006-01-05 21:56:24.000000000 +0100
+++ /usr/local/src/roller-src/src/org/roller/util/MailUtil.java 2006-02-07 16:19:15.000000000
+0100
@@ -90,6 +90,7 @@
                }
         message.setSubject((subject == null) ? "(no subject)" : subject);
         message.setContent(content, mimeType);
+ message.setSentDate(new java.util.Date());

// First collect all the addresses together.
         Address[] remainingAddresses = message.getAllRecipients();


Regards,
Jan
 Description  	
   Hi! I had a small problem with the invitaions sent by roller. The generated mails did not
contain a date header, so Thunderbird assumed 01/01/1970 as sent date, and all generated mails
ended up on the bottom of my mail folder. Is this a bug or am I missing something here? Since
I was not able to find any information on this behaviour in the bug tracker or the mailing
list, I assume that this is a new problem. Adding the date to the message object solved this
issue for me, so here's my patch: --- MailUtil.java 2006-01-05 21:56:24.000000000 +0100 +++
/usr/local/src/roller-src/src/org/roller/util/MailUtil.java 2006-02-07 16:19:15.000000000
+0100 @@ -90,6 +90,7 @@                 }          message.setSubject((subject == null) ?
"(no subject)" : subject);          message.setContent(content, mimeType); + message.setSentDate(new
java.util.Date()); // First collect all the addresses together.          Address[] remainingAddresses
= message.getAllRecipients(); Regards, Jan
	Show »

 All  	 Comments  	 Change History  	  	  Sort Order: [Ascending order - Click to sort in
descending order]
[ Permlink | « Hide ]
David Johnson - [07/Feb/06 09:44 AM ]
I'll try to address this in 2.2
[ Show » ]
David Johnson - [07/Feb/06 09:44 AM ] I'll try to address this in 2.2

[ Permlink | « Hide ]
Rob Wilson - [22/Feb/06 11:18 AM ]
It appears current dates are now being inserted. See below.

Return-path: <R.Wilson@Sun.COM>
Received: from conversion-daemon.bur-mail2.east.sun.com by
 bur-mail2.east.sun.com
 (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003))
 id <0IV300L01LTCJ1@bur-mail2.east.sun.com>
 (original mail from R.Wilson@Sun.COM) for rw198269@bur-mail2.East.Sun.COM;
 Wed, 22 Feb 2006 12:01:30 -0500 (EST)
Received: from sfbaymail1sca.SFBay.Sun.COM
 (sfbaymail1sca.SFBay.Sun.COM [129.145.154.35]) by bur-mail2.east.sun.com
 (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003))
 with ESMTP id <0IV300KLLLYI2O@bur-mail2.east.sun.com> for
 rw198269@bur-mail2.East.Sun.COM; Wed, 22 Feb 2006 12:01:30 -0500 (EST)
Received: from blog (blog.SFBay.Sun.COM [10.6.48.139])
by sfbaymail1sca.SFBay.Sun.COM (8.12.10+Sun/8.12.10/ENSMAIL,v2.2)
 with ESMTP id k1MH1TTe005078; Wed, 22 Feb 2006 09:01:29 -0800 (PST)
Date: Wed, 22 Feb 2006 09:01:30 -0800 (PST)
From: R.Wilson@Sun.COM
Subject: Roller: invitation to join weblog "QTP" (QTP)
To: R.Wilson@Sun.COM
Cc: R.Wilson@Sun.COM
Message-id: <4889048.1140627690361.JavaMail.suncom@blog>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-transfer-encoding: 7BIT
Original-recipient: rfc822;rw198269@bur-mail2.East.Sun.COM
[ Show » ]
Rob Wilson - [22/Feb/06 11:18 AM ] It appears current dates are now being inserted. See below.
Return-path: <R.Wilson@Sun.COM> Received: from conversion-daemon.bur-mail2.east.sun.com
by  bur-mail2.east.sun.com  (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003))
 id <0IV300L01LTCJ1@bur-mail2.east.sun.com>  (original mail from R.Wilson@Sun.COM) for
rw198269@bur-mail2.East.Sun.COM;  Wed, 22 Feb 2006 12:01:30 -0500 (EST) Received: from sfbaymail1sca.SFBay.Sun.COM
 (sfbaymail1sca.SFBay.Sun.COM [129.145.154.35]) by bur-mail2.east.sun.com  (iPlanet Messaging
Server 5.2 HotFix 1.24 (built Dec 19 2003))  with ESMTP id <0IV300KLLLYI2O@bur-mail2.east.sun.com>
for  rw198269@bur-mail2.East.Sun.COM; Wed, 22 Feb 2006 12:01:30 -0500 (EST) Received: from
blog (blog.SFBay.Sun.COM [10.6.48.139]) by sfbaymail1sca.SFBay.Sun.COM (8.12.10+Sun/8.12.10/ENSMAIL,v2.2)
 with ESMTP id k1MH1TTe005078; Wed, 22 Feb 2006 09:01:29 -0800 (PST) Date: Wed, 22 Feb 2006
09:01:30 -0800 (PST) From: R.Wilson@Sun.COM Subject: Roller: invitation to join weblog "QTP"
(QTP) To: R.Wilson@Sun.COM Cc: R.Wilson@Sun.COM Message-id: <4889048.1140627690361.JavaMail.suncom@blog>
MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7BIT
Original-recipient: rfc822;rw198269@bur-mail2.East.Sun.COM

[ Permlink | « Hide ]
linda skrocki - [13/Apr/06 10:56 AM ]
Fix released in 2.2.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message