[
https://issues.apache.org/jira/browse/ROL-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Glen Mazza closed ROL-1578.
---------------------------
Resolution: Fixed
Level of effort: Checking the code base, this was fixed some time ago.
Thanks for bringing to our attention.
> 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: https://issues.apache.org/jira/browse/ROL-1578
> Project: Apache 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: <[email protected]>
> 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 <[email protected]>
> (original mail from [email protected]) for [email protected];
> 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 <[email protected]> for
> [email protected]; 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: [email protected]
> Subject: Roller: invitation to join weblog "QTP" (QTP)
> To: [email protected]
> Cc: [email protected]
> 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;[email protected]
> [ Show » ]
> Rob Wilson - [22/Feb/06 11:18 AM ] It appears current dates are now being
> inserted. See below. Return-path: <[email protected]> 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
> <[email protected]> (original mail from
> [email protected]) for [email protected]; 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
> <[email protected]> for [email protected];
> 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:
> [email protected] Subject: Roller: invitation to join weblog "QTP" (QTP) To:
> [email protected] Cc: [email protected] 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;[email protected]
> [ Permlink | « Hide ]
> linda skrocki - [13/Apr/06 10:56 AM ]
> Fix released in 2.2.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)