Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
From: Ico Doornekamp <sup@zevv.nl>
To: sup-devel <sup-devel@rubyforge.org>
Subject: Re: [sup-devel] Mail-to-self does not end up in inbox
Date: Mon, 07 Mar 2011 07:51:57 +0100	[thread overview]
Message-ID: <1299480660-sup-5856@pruts.nl> (raw)
In-Reply-To: <1299454258-sup-7115@whisper>

* On Mon Mar 07 00:36:24 +0100 2011, Hamish wrote:
 
> Excerpts from Ico Doornekamp's message of Sun Mar 06 18:34:56 +0000 2011:
> > Back in the old days when using mutt, I regularly used to send mails to
> > myself as reminders or short notes. Sup however shows intelligent
> > behaviour, recognizes the message is both sent and received, and
> > attaches a 'sent' label to it, and thus the mail does not show up in the
> > inbox.
> > 
> > Is there a simple workaround for this ? Could this be considered a bug,
> > or is this just functioning as designed ?
> 
> I generally prefer sent email to not show up in the inbox - I try to
> keep my inbox somewhere near zero (though I rarely achieve it ...)
> 
> A work around could be to add the inbox label to sent mail that is just
> to you. In before-add-message.rb you could have something like:
> 
> 
> if message.from.email == "me@mine.com" && message.to.length == 1 && message.to[0].email == "me@mine.com"
>   message.add_label :inbox
> end
> 
> I haven't tested that, so you may want to check your logs if you try
> using it.

Works like a charm. Thanks!

-- 
:wq
^X^Cy^K^X^C^C^C^C
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel


  reply	other threads:[~2011-03-07  8:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-06 18:34 Ico Doornekamp
2011-03-06 19:15 ` Steve
2011-03-06 23:36 ` Hamish
2011-03-07  6:51   ` Ico Doornekamp [this message]
2011-03-07  8:27   ` Amadeusz Żołnowski
2011-06-19 23:39 Hamish Downer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1299480660-sup-5856@pruts.nl \
    --to=sup@zevv.nl \
    --cc=sup-devel@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox