[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] Mail-to-self does not end up in inbox



Excerpts from Hamish's message of Mon Mar 07 00:36:24 +0100 2011:
> 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

Why not have requested behaviour (sent mail in inbox) and hook for
archiving?  E.g. I am usually modyfing labels on sent mail.  And it's
easier to archive sent mail than unarchive it.
-- 
Amadeusz Żołnowski

PGP key fpr: C700 CEDE 0C18 212E 49DA  4653 F013 4531 E1DB FAB5

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel