Skip Menu |
 

This queue is for tickets about the Net-IMAP-Simple CPAN distribution.

Report information
The Basics
Id: 45953
Status: resolved
Priority: 0/
Queue: Net-IMAP-Simple

People
Owner: jettero [...] cpan.org
Requestors: nemtommeister [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: removing unseen flag by msg number
Download (untitled) / with headers
text/plain 500b
It's just an extension wish. I searched a few how to solve my problem (I have to stay the accessed mails "untouched" but I cannot found any nice way to do this. Finally I patched my Simple.pm file like this: sub unseen { my ( $self, $number ) = @_; $self->_process_cmd( cmd => [STORE => qq[$number -FLAGS (\\Seen)]], final => sub { 1 }, process => sub { }, ); } ps: just wontfixing the bug if its useless. Thanks a lot for the product :) Best ~pete
Download (untitled) / with headers
text/plain 949b
On Mon May 11 09:15:42 2009, kiddo wrote: Show quoted text
> It's just an extension wish. > > I searched a few how to solve my problem (I have to stay the accessed > mails "untouched" but I cannot found any nice way to do this. > Finally I patched my Simple.pm file like this: > > sub unseen { > my ( $self, $number ) = @_; > > $self->_process_cmd( > cmd => [STORE => qq[$number -FLAGS (\\Seen)]], > final => sub { 1 }, > process => sub { }, > ); > } > > ps: just wontfixing the bug if its useless. > > Thanks a lot for the product :) > Best ~pete
I don't think I understand what this does, but I'm pretty sure it breaks the way unseen works. I know it's a couple years later, but I'm a new maintainer. If you could elaborate, perhaps we could find a way to make this happen. -- If riding in an airplane is flying, then riding in a boat is swimming. 107 jumps, 43.5 minutes of freefall, 83.4 freefall miles.
From: nemtommeister [...] gmail.com
On Thu Jun 11 13:00:06 2009, JETTERO wrote: Show quoted text
> On Mon May 11 09:15:42 2009, kiddo wrote:
> > It's just an extension wish. > > > > I searched a few how to solve my problem (I have to stay the accessed > > mails "untouched" but I cannot found any nice way to do this. > > Finally I patched my Simple.pm file like this: > > > > sub unseen { > > my ( $self, $number ) = @_; > > > > $self->_process_cmd( > > cmd => [STORE => qq[$number -FLAGS (\\Seen)]], > > final => sub { 1 }, > > process => sub { }, > > ); > > } > > > > ps: just wontfixing the bug if its useless. > > > > Thanks a lot for the product :) > > Best ~pete
> > I don't think I understand what this does, but I'm pretty sure it breaks > the way unseen works. I know it's a couple years later, but I'm a new > maintainer. If you could elaborate, perhaps we could find a way to make > this happen. > >
Hi, this sub just removing the 'Seen' flag from the specified id. Like the delete sub adding a 'Deleted' flag. I hope I can help you :) Best ~pete
Download (untitled) / with headers
text/plain 484b
On Mon May 11 09:15:42 2009, kiddo wrote: Show quoted text
> It's just an extension wish.
I've installed this in 1.1899_05 as the active verb see() and also added the contrapositive unsee() and undelete() to go with delete(). _05 is only available on github for the moment, but probably CPAN later today or tomorrow. http://github.com/jettero/net--imap--simple/ -- IIf riding in an airplane is flying, then riding in a boat is swimming. 109 jumps, 44.4 minutes of freefall, 85.0 freefall miles.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.