[Issue 4128] New - Send mails with expiration date

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 4128] New - Send mails with expiration date

jhm-4
https://hudson.dev.java.net/issues/show_bug.cgi?id=4128
                 Issue #|4128
                 Summary|Send mails with expiration date
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P3
            Subcomponent|email-ext
             Assigned to|markltbaker
             Reported by|jhm






------- Additional comments from [hidden email] Wed Jul 29 12:10:36 +0000 2009 -------
Having many 'old' build status mails in your inbox when coming back from
holiday/weekend/... is annoying.
Hudson could send the status mails with an expiration date, so email clients
could delete the old mails automatically.

The date could be configurable (eg +3days for getting weekends).

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 4128] Send mails with expiration date

Kohsuke Kawaguchi
Administrator
https://hudson.dev.java.net/issues/show_bug.cgi?id=4128






------- Additional comments from [hidden email] Thu Aug  6 01:29:57 +0000 2009 -------
Do you have a reference to RFC for the Expires header in e-mail?

I've never heard such that such a feature exists.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 4128] Send mails with expiration date

jhm-4
In reply to this post by jhm-4
https://hudson.dev.java.net/issues/show_bug.cgi?id=4128






------- Additional comments from [hidden email] Thu Aug  6 05:47:26 +0000 2009 -------
I havent seen the RFC. But I know this feature from MS Outlook.
I created a test mail and had a look at the header:

Expiry-Date: Fri, 7 Aug 2009 17:00:00 +0200

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 4128] Send mails with expiration date

jhm-4
In reply to this post by jhm-4
https://hudson.dev.java.net/issues/show_bug.cgi?id=4128






------- Additional comments from [hidden email] Thu Aug  6 05:48:39 +0000 2009 -------
I searched more for that:
- There is a blog for sending expiring mails from Ant [1].
- But more interesting is the list of headers [2] which refers to RFC-4021 [3]
chapter  2.1.50.
- I also found a Java example [4].


RFC 4021 (excerpt):
---8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<----
2.1.50.  Header Field: Expires
   Description:
      Message expiry time
   Applicable protocol: Mail
   Status: standards-track
   Specification document(s):
      RFC 2156
   Related information:
      Time at which a message loses its validity.  Renamed version of
      obsolete Expiry-Date header field.  RFC 2156 (MIXER), not for
      general use.
---8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<----


[1]
https://blog.coremedia.com/cm/post/2258526/Apache_Ant_Sending_Mails_with_Expiry_Date_and_Priority.html
[2] http://www.iana.org/assignments/message-headers/perm-headers.html
[3] http://www.rfc-editor.org/rfc/rfc4021.txt
[4] http://info4tech.wordpress.com/2005/09/23/setting-email-expiry-date/

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 4128] Send mails with expiration date

Kohsuke Kawaguchi
Administrator
In reply to this post by jhm-4
https://hudson.dev.java.net/issues/show_bug.cgi?id=4128






------- Additional comments from [hidden email] Thu Aug  6 17:05:28 +0000 2009 -------
IMO it would be more useful if a "build is back to stable" e-mail can expire
earlier failure e-mails.

I wonder if Outlook has any such extension?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 4128] Send mails with expiration date

jhm-4
In reply to this post by jhm-4
https://hudson.dev.java.net/issues/show_bug.cgi?id=4128






------- Additional comments from [hidden email] Fri Aug  7 04:23:42 +0000 2009 -------
Outlook cant delete an email with by new one.
But you can "resend" an email which will do that. And before "resend" you could
modify the mail. I'll do a quick test ...

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 4128] Send mails with expiration date

jhm-4
In reply to this post by jhm-4
https://hudson.dev.java.net/issues/show_bug.cgi?id=4128






------- Additional comments from [hidden email] Fri Aug  7 04:53:27 +0000 2009 -------
TEST:
1. send an email
2. open the sent email from the "out" folder and via "action > recall" resend
the mail ==> an input box opens
3. Two alternatives: delete unread mails + replace unread mails by a new one;
additionally a checkbox for "send me the results for each adressee". Choose
"replace" with unchecked box ==> (old) mail opens
5. modify the mail and recall ==> three mails in inbox: old mail, "recall mail"
and new mail
6. open the new mail ==> nothing special
7. open the "recall" ==> old mail is deleted

Not sure if I could see anything useful:


---ORIGINAL MAIL--------------------------------------------
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
Subject: alte mail
Message-ID: <[hidden email]>
Thread-Topic: alte mail
Thread-Index: AcoXGJsI89fuhmc/QHCZRispTRRKZA==
---RECALL MAIL----------------------------------------------
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:recallmessage
Subject: =?iso-8859-1?Q?R=FCckruf=3A_alte_mail?=
Message-ID: <[hidden email]>
Thread-Topic: alte mail
Thread-Index: AcoXGMDMoYAPq0clQUKg4r68SZxjNQ==
Priority: Urgent
Expiry-Date: Sun, 9 Aug 2009 06:37:19 +0200
---NEW MAIL-------------------------------------------------
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
Subject: alte mail geandert
Message-ID: <[hidden email]>
Thread-Topic: alte mail geandert
Thread-Index: AcoXGJsI89fuhmc/QHCZRispTRRKZA==
------------------------------------------------------------

I would think "deleting old messages" is done by sending a new message with headers:
Thread-Topic: THE-OLD-TOPIC(DEFAULTS-TO-SUBJECT)
Content-class: urn:content-classes:recallmessage

This mail also has a text and subject a la "the sender wants to recall the message".

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]