[DEV] Mail plugin for Total Commander

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
D1P
Senior Member
Senior Member
Posts: 233
Joined: 2005-02-28, 18:29 UTC
Location: Moscow
Contact:

[DEV] Mail plugin for Total Commander

Post by *D1P »

Hi all.

It is new filesystem plugin for Total Commander.
Working with mail clients is not so convenient, as with Total Commander plugins, therefore I have written this plugin. It is intended for work with e-mail accounts in Total Commander. It is only alpha version for now, which requires testing, therefore I do not distribute it on totalcmd.net or other places. So, it would be nice, if you can test my plugin. Some functions require TC 7.0+ - so, probably, it will be interesting to test them :)

In the current version the following operations are supported:
- Viewing information about the messages in the user columns without messages delivery (download only headers-> reduction of traffic).
- Removing messages from the server.
- Messages delivery with removing from the server and without removing.
- Viewing size of a mail box without uploading messages.
- Saving messages in *.eml format.

SMTP support (only POP3 support implemented for now) and work with GMail is planned.

Screenshot:
Image: http://super.wincmd.ru/files/WFX_MAIL_EN.png

The link:
http://super.wincmd.ru/files/WFX_MAIL.rar

Detailed instructions you can find in readme. I shall be glad to receive responses and bugreports.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

I've tried your new plugin Mail. Thanks for it.
There are several bugs/suggestions below:

1. After installation there seems to be one default mailbox with a strange name and size (4503661 845 738....).
2. It's nice there are custom columns but it's a pity that there is no horizontal scrollbar in default settins.
3. When I'm in a configuration window and I press Alt-Tab to switch to another application, TC (mail configuration window) lose its focus and I cannot ruturn to it. The only what I can do is killing the process.
4. After installation - any language is choosen in combo box.
5. TC language could be choosen by defualt if it's accessable - but maybe for this tha lang files should be named like: mail_pol.lng
6. There is no OK/Cancel button in configuration window.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

Hi D1P!

Very nice plugin, especially considering that it's the first that implements some nice features that came with TC7.

My impressions so far:

- I lost the config window after Alt+Tab. It shows in task manager, but not in taskbar. Switching to TC does not show the window.

- The messages have a [1]_ prefix. Sorting by date would do the same I think, and therefor does not seem necessary.

- In custom columns config there is something like <fs>\Recipients. Is that the default TC behaviour? I'd expect something like <fs>\Mail\Recipients.

- You said something about
- Messages delivery with removing from the server and without removing.
... how is that achievable? I couldn't find any related options.
TC for Linux please!
User avatar
D1P
Senior Member
Senior Member
Posts: 233
Joined: 2005-02-28, 18:29 UTC
Location: Moscow
Contact:

Post by *D1P »

2djk:
Thank for responce.
1. After installation there seems to be one default mailbox with a strange name and size (4503661 845 738....).
Yes, it is known bug, i'll fix it.
3. When I'm in a configuration window and I press Alt-Tab to switch to another application, TC (mail configuration window) lose its focus and I cannot ruturn to it. The only what I can do is killing the process.
It is known bug too, it is described in readme. I planned some window redesign in later versions, and fix this bug after that redesign.
2. It's nice there are custom columns but it's a pity that there is no horizontal scrollbar in default settins.
Ok.
4. After installation - any language is choosen in combo box.
Default language is english, and it is not required to select any localization, if is not necessary for you. Therefore the localization list also is empty. I shall change behaviour in the next versions.
6. There is no OK/Cancel button in configuration window.
Are you really need this buttons? I prefer use Esc key to close this window.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

A mail plug-in could be really interesting but IMAP is a must.
User avatar
D1P
Senior Member
Senior Member
Posts: 233
Joined: 2005-02-28, 18:29 UTC
Location: Moscow
Contact:

Post by *D1P »

2roentgen:
Thanks for responce.
- I lost the config window after Alt+Tab. It shows in task manager, but not in taskbar. Switching to TC does not show the window.
See previous answer. I'll fix it in next versions.
- The messages have a [1]_ prefix. Sorting by date would do the same I think, and therefor does not seem necessary.
It is neccessary, because mail servers identify messages by numbers. I am compelled to keep this prefixes - it is a unique way to identify messages.
- In custom columns config there is something like <fs>\Recipients. Is that the default TC behaviour? I'd expect something like <fs>\Mail\Recipients.
Yes, it is normal behavior.
... how is that achievable? I couldn't find any related options.
F5 - copy message.
F6 - copy and delete from server. ;)
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

2djk
The only what I can do is killing the process.
Right click > Bring to front in task manager :D
TC for Linux please!
User avatar
D1P
Senior Member
Senior Member
Posts: 233
Joined: 2005-02-28, 18:29 UTC
Location: Moscow
Contact:

Post by *D1P »

2Lefteous:

IMAP4 also planned, but only after SMTP implementation.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

2D1P
Thanks for the answers and promises of changes :-)
D1P wrote:
6. There is no OK/Cancel button in configuration window.
Are you really need this buttons? I prefer use Esc key to close this window.
IMHO it would be good to add such buttons. Unfortunately Esc works only when the focus is on the "Mailbox list" or "Add" button. In other places it doesn't work. Esc is also often understood as "cancel" so it can lead to many misunderstandings.

You could also add possibility to rename the mailbox.

2roentgen
True... but it's of course not the best solution,.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
D1P
Senior Member
Senior Member
Posts: 233
Joined: 2005-02-28, 18:29 UTC
Location: Moscow
Contact:

Post by *D1P »

Unfortunately Esc works only when the focus is on the "Mailbox list" or "Add" button. In other places it doesn't work
It is a bug. I'll fix it.
IMHO it would be good to add such buttons.
Ok, i'll add this buttons, but I shall not change Esc button behavior.
You could also add possibility to rename the mailbox.
See readme. Just press F2 or doubleclick on mailbox name.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

2D1P
Thanks.

Sorry, I didn't read readme too carrefully but I suppose that most other people also won't do it so they will have similiar problem. Maybe it would be good to add such a button or any description in the window.
Could it be possible to change the name in the panel via eg. Shift+F6?
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
D1P
Senior Member
Senior Member
Posts: 233
Joined: 2005-02-28, 18:29 UTC
Location: Moscow
Contact:

Post by *D1P »

Sorry, I didn't read readme too carrefully but I suppose that most other people also won't do it so they will have similiar problem. Maybe it would be good to add such a button or any description in the window.
Could it be possible to change the name in the panel via eg. Shift+F6?
Ok, i shall add Shift+F6 shortcut, but documentation reading is not cancelled for you :^)
User avatar
D1P
Senior Member
Senior Member
Posts: 233
Joined: 2005-02-28, 18:29 UTC
Location: Moscow
Contact:

Post by *D1P »

v. 0.7b (05.01.2007)
* Empty mailbox list showed correctly.
* Options window changed, and Alt+Tab window loss bug fixed.
* Now possible to add additional info (like "about author") in localization file.
* All standart input dialogs changed to self-written.
* Default user columns view changed.

Download link has not changed (look the first post).
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

2D1P
Thanks. Better, much better :)
In English readme there is still "Version: 0.7a"
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
pajo
Member
Member
Posts: 181
Joined: 2005-02-18, 17:57 UTC
Location: Croatia

Post by *pajo »

2Author

Great plugin :-), keep on good work
Post Reply