IMAP Plugin

Karamba & Superkaramba

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5 .0
Description:

For those of us no longer using POP3, here's an IMAP perl script plugin for [probably any] superkaramba theme. Very easy to configure and plug into an existing theme. Also provides option to exclude any IMAP folder from query and features port support for IMAP servers not running on standard port 143.

Simply place the script in anyone of your themes directories, open it up with your favourite text editor, edit a few variables (your imap server address, login and password) and point your karamba theme to the script.

Please note that folder names differ from system to system. My folder names begin with INBOX.* and may be different for you. Thunderbird users might notice that IMAP is unavailable when viewing mail. I'm not sure how to address this. If someone figures it out, reply to this thread. Thanks

Requirements:
-- An IMAP server
-- Mail::IMAPClient API

Note:
Gentoo users => emerge Mail-IMAPClient
- or -
Download Mail::IMAPClient from http://search.cpan.org/dist/Mail-IMAPClient/ and install manually.

This is merely an improvement on this script:
http://www.kde-look.org/content/show.php?content=19787
Last changelog:

15 years ago

v1.1 :: Anchored the $folder variable down by adding a ^ in front of $folder and a $ behind it.
v1.031 :: My apologies for my typo. I forgot to place forward slashes before and after the $folder
v1.03 :: Replaced for loop comaring $folder to @excludes with grep.
v1.02 :: Added port support for IMAP servers not running standard port 143.
v1.01 :: Changed loop to parse through excluded folder array. Previous loop was reading all folders twice thus not returning accurate new mail count.
v1.0 :: Initial release.

C

Amoeba

14 years ago

Ok. For starters, the current IMAP Plugin does not support SSL, which I didn't quite realize until recently. As I write this, I'm updating the plugin to include SSL support however, there seems to be a bug with either the Mail-IMAPClient or IO-Socket-SSL perl modules. While i've gotten it to authenticate, it returns 0 for everything.... Not quite sure what's up...

Any ideas? Give me a hollar at amoeba.x@gmail.com as I don't check this board on a regular basis....

Report

ogetbilo

15 years ago

This is one of the things we really needed!
I just have one question.

How do we set the $imaphost variable if the mail server runs on a non-standard port?
For ex: my imap mail server runs at port 993.

mail.mailserver.com:993 didn't work.

Report

C

Amoeba

15 years ago

Just added support for non-standard ports. Enjoy!

Report

15 years ago

v1.1 :: Anchored the $folder variable down by adding a ^ in front of $folder and a $ behind it.
v1.031 :: My apologies for my typo. I forgot to place forward slashes before and after the $folder
v1.03 :: Replaced for loop comaring $folder to @excludes with grep.
v1.02 :: Added port support for IMAP servers not running standard port 143.
v1.01 :: Changed loop to parse through excluded folder array. Previous loop was reading all folders twice thus not returning accurate new mail count.
v1.0 :: Initial release.

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
v 1.1
updated May 23 2005
added Apr 06 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0