archive_mail plugin

View: New views
2 Messages — Rating Filter:   Alert me  

archive_mail plugin

by Marco van Beek-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

I am contemplating re-writing the archive_mail plug in so that it can
archive more than one folder, and to save via FTP to the users home
directory (much like the vacation plug writes it's files).

It also needs to be able to archive by date, so what I was thinking is
that instead of the archive button on the main page, you would go to a
special page (e.g. Options > AutoArchive) and you would fill in the
destination, select which folders you want to archive, and a date. That
would open a new window, maybe using AJAX, that would act as a status
page and allow you to go back to work while running. There should also
be some sort of locking to prevent multiple archive processes running at
the same time for a given user. We will also need an option that deletes
the email after each successful archiving operation.

However, I am a complete plug-in newbie so would be looking for some
assistance / guidance. I know there are some limitations with the old
plug-in which I am hoping can be got around by not trying to zip the
file because that is probably what causes the time-outs and memory
exhaustion, and let the user zip the file themselves afterwards.

So here's the $64K question: I think I can write the actual script that
does the work, but I need help to integrate it into Squirrelmail.Maybe
it needs to be a new plug-in rather than hacking an old one. Or maybe
someone is already working on one and I can help them instead.

Regards,

Marco



--
Marco van Beek
==========================================
Forget About IT Ltd.
Grove Park Studios,
188-192 Sutton Court Rd,
London, W4 3HR
==========================================
T: 0870 757 2924
F: 0870 757 2926
M: 0788 770 3604
E: mvanbeek@...
W: www.forgetaboutit.net
==========================================
Forget About IT is a registered trademark.
==========================================
Company Registered in England No. 05375739
==========================================

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

Re: archive_mail plugin

by Fredrik Jervfors-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I am contemplating re-writing the archive_mail plug in so that it can
> archive more than one folder, and to save via FTP to the users home
> directory (much like the vacation plug writes it's files).
>
> It also needs to be able to archive by date, so what I was thinking is
> that instead of the archive button on the main page, you would go to a
> special page (e.g. Options > AutoArchive) and you would fill in the
> destination, select which folders you want to archive, and a date. That
> would open a new window, maybe using AJAX, that would act as a status page
> and allow you to go back to work while running. There should also be some
> sort of locking to prevent multiple archive processes running at the same
> time for a given user. We will also need an option that deletes the email
> after each successful archiving operation.
>
> However, I am a complete plug-in newbie so would be looking for some
> assistance / guidance. I know there are some limitations with the old
> plug-in which I am hoping can be got around by not trying to zip the file
> because that is probably what causes the time-outs and memory exhaustion,
> and let the user zip the file themselves afterwards.
>
> So here's the $64K question: I think I can write the actual script that
> does the work, but I need help to integrate it into Squirrelmail.Maybe it
> needs to be a new plug-in rather than hacking an old one. Or maybe someone
> is already working on one and I can help them instead.

Hi Marco.

When coding for SquirrelMail (both the core and the plugins) you'll find
useful information in the SquirrelMail Developer's Manual.
http://squirrelmail.org/docs/devel/devel.html

Usually I'd recommend to work together with the current maintainer, but as
far as I know Archive Mail is up for adoption (or replacement) so please
go ahead.

--
Fredrik Jervfors
The SquirrelMail Project
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donations.php


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins