Skip Menu |
 

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

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

People
Owner: jettero [...] cpan.org
Requestors: gregoa [...] debian.org
Cc:
AdminCc:

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



Subject: (Fwd) Bug#502872: Please support "copy" with a bunch of messages
Date: Mon, 20 Oct 2008 20:26:25 +0200
To: bug-Net-IMAP-Simple [...] rt.cpan.org
From: gregor herrmann <gregoa [...] debian.org>
Download (untitled) / with headers
text/plain 2.1k
Hi, we've received the following feature request for Net-IMAP-Simple in the Debian bug tracker. Cheers, gregor ----- Forwarded message from Michelle Konzack <linux4michelle@tamay-dogan.net> ----- From: Michelle Konzack <linux4michelle@tamay-dogan.net> To: BTS <submit@bugs.debian.org> Subject: Bug#502872: Please support "copy" with a bunch of messages Date: Sun, 19 Oct 2008 14:28:47 +0200 Reply-To: Michelle Konzack <linux4michelle@tamay-dogan.net>, 502872@bugs.debian.org Package: libnet-imap-simple-perl Severity: wishlist Hello Maintainers, Please forwarg this to Upstream. The IMAP protocol allow to send a list of messages to the IMAP server which should be "copied" or "deleted". Net::IMAP::Simple allow only copying or deleting of a singel message which lead to the hell of an overhead to the IMAP server (in my case it is courier). If passed a list to the "copy" or "delete" command and an error occurs, the command has to stop and give in the error the message number back, which lead to the error. The program has then to parse the original messages number string to find out which messages has been passed and which not. $imap->delete( "$string_of_message_numbers" ); $imap->copy( "$string_of_message_numbers" , $mailbox ); Since I am currently coding a new IMAP client based on Perl, I like to see this feature as fast as posibel. Thanks, Greetings and nice Day/Evening Michelle Konzack Systemadministrator 24V Electronic Engineer Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 +49/177/9351947 50, rue de Soultz MSN LinuxMichi +33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com) Show quoted text
----- End forwarded message ----- -- .''`. Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/ `. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/ `- NP: Rolling Stones
Download signature.asc
application/pgp-signature 197b

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 1011b
On Mon Oct 20 14:28:05 2008, gregoa@debian.org wrote: Show quoted text
> we've received the following feature request for Net-IMAP-Simple in
the Debian bug tracker. I know it's almost a year later, but I just inherited this module. So, for whatever it's worth: Show quoted text
> Net::IMAP::Simple allow only copying or deleting of a single message
This is false. I don't think I fixed it, but it's certainly possible. The module doesn't parse the "message number" at all, so it's possible to pass sequence sets to most of the functions that take a message number argument. The documentation will reflect this in short order. But it works right now, and it's proved in the t/22 tests (new). Show quoted text
> $imap->delete( "3,9,7:22" );
You can also use this notation to see what did (and what did not) get blown away: my @expunged_numbers = $imap->expunge_mailbox; Show quoted text
> $imap->copy( "3,9,7:22" , $mailbox );
Works. -- If riding in an airplane is flying, then riding in a boat is swimming. 109 jumps, 44.4 minutes of freefall, 85.0 freefall miles.
Subject: Re: [rt.cpan.org #40203] (Fwd) Bug#502872: Please support "copy" with a bunch of messages
Date: Wed, 1 Jul 2009 21:11:57 +0200
To: Paul Miller via RT <bug-Net-IMAP-Simple [...] rt.cpan.org>
From: gregor herrmann <gregoa [...] debian.org>
Download (untitled) / with headers
text/plain 1.2k
On Sat, 20 Jun 2009 18:24:50 -0400, Paul Miller via RT wrote: Show quoted text
> On Mon Oct 20 14:28:05 2008, gregoa@debian.org wrote:
> > we've received the following feature request for Net-IMAP-Simple in > > the Debian bug tracker.
> I know it's almost a year later, but I just inherited this module.
No problem, thanks for taking the time to look into the issue and pass along the information! Show quoted text
> > Net::IMAP::Simple allow only copying or deleting of a single message
> This is false. I don't think I fixed it, but it's certainly possible. > The module doesn't parse the "message number" at all, so it's possible > to pass sequence sets to most of the functions that take a message > number argument.
Great, I'll add it to the bug report in Debian and ... Show quoted text
> The documentation will reflect this in short order. But it works right > now, and it's proved in the t/22 tests (new).
... will close the Debian bug when we upload a new version with the documentation. Cheers, gregor -- .''`. http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/ `. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/ `- NP: Alanis Morissette: Out Is Through
Download signature.asc
application/pgp-signature 197b

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 235b
Excellent news, thanks. (This note is because replying re-opens a ticket and I'm closing it again.) -- If 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.