AnalogMachine Collection: TubeMail

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
Score 50.0%
Description:

TubeMail

Well, inspired by all the other famous pieces for Analog Machine,
I've decided to make all the things I'm missing. My first 'work'
was TubeMail.

Default intervall is 300000 ms, so TubeMail will take a look at
your favorite mailaccount every 5 minutes. You can change this
intervall as usual in the .theme file.

TubeMail is dedicated to KiTaSuMbA for his great work creating
such a fantastic theme collection.

TubeMail ist released under GPL.
Last changelog:

14 years ago

v0.4.0
After playing a while with functions and code my python didn't
become better. Doesn't matter. This version of TubeMail is fully
configurable via menu. I also added the possibility to start the
favorite mailreader by clicking once into the widget using left
mousebutton. Removed unneeded graphics.

v0.3
Shame on me! I did everything perfect for the init, but not for the
update. This version now uses server.stat() in both init and update

v0.2
The servers I played with gave me a lot of information after sending
the password. But the way I used didn't work fo s3m10s. In this
version I use server.stat(). This should work with every pop3 server.

AdrienV

14 years ago

You should have a look to my python code for my Aero-G mail themes...

Report

C

rkaerner

14 years ago

I'll do so in near future. At the moment there's lot of other work wating for me.

Report

s3m10s

14 years ago

answer = server.stat() will give a tuple with the mailcount as the first element, but you can-t split that and I don't know how to change it. Hope that helps.

Report

C

rkaerner

14 years ago

okay, so different pop3 server give different answers. give me a few hours, after that this Tube should also work for you. If not... well, it's weekend and there's a lot of time I can spend finding a solution.

Report

s3m10s

14 years ago

the server response is +OK (from 'answer')

I'm sorry I can't do much on my own here but I know nothing about python.

thanks for your help

Report

s3m10s

14 years ago

Looks great but I have a slight problem. I get this error:
call to initWidge failed,
file "TubeMail.ph" line 66
mailcount = int(mailcount[3])
IndexError: list index out of range
I'm using kde3.4, python 2.3.4 and superkaramba .35.

keep up the nice work.

Report

C

rkaerner

14 years ago

hmm... I'll have to test that. I am using Python 2.3.5, KDE 3.4 and superkaramba 0.35.

I did not really know if I use any feature of python which is not implemented in 2.3.4, but normally there are just normal string actions.
mailcount is a string with more then (than?) 4 'words' I just split (as you can see) the answer of the server into parts and take the fourth part (count beginning et 0)

Okay, do the following, please: insert a "print answer" after "answer = server.pass_(getmail.pass_)" and start the theme from console: 'superkaramba /your/path/to/theme' and then give me the full output. You're welcome to talk to me in mail, but please patient in awayting an answer (and believe me: my english is as bad as my python).

Report

KiTaSuMbA

14 years ago

rkaener did an excellent job on this one. Although I haven't been able to help him in any significant way - and I feel compeled to apologise for this - he managed to create a functional and easthetically fully consonant addition to the Analog Machine family.

You have my public compliments!
Keep on!

Report

C

rkaerner

14 years ago

Believe me: I could not sleep anymore until I hadn't realized the idea that I had mailed to you. So I worked hard for a couple of hours.

I had been inspired by YOU, and by noone else. Feel free to do anything with my addition you want to do.

I dedicate my first work to you.

Thank you for inspiration, my next work will also be a tube ;)

Report

14 years ago

v0.4.0
After playing a while with functions and code my python didn't
become better. Doesn't matter. This version of TubeMail is fully
configurable via menu. I also added the possibility to start the
favorite mailreader by clicking once into the widget using left
mousebutton. Removed unneeded graphics.

v0.3
Shame on me! I did everything perfect for the init, but not for the
update. This version now uses server.stat() in both init and update

v0.2
The servers I played with gave me a lot of information after sending
the password. But the way I used didn't work fo s3m10s. In this
version I use server.stat(). This should work with every pop3 server.

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
v0.4.0
updated Apr 17 2005
added Apr 14 2005
downloads 24h
0
page views 24h 1