[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:

Post by *D1P »

Yesss ... The attachment problem is due to the caching mechanism. Switching it off and deleting the cache folder solves the problem.
I shall try to give the fixed version as soon as possible.
By the way, after stressing you with that many posts, I thought I should contribute something, so here is my german translation:
Thank you!
User avatar
joeyeti
Junior Member
Junior Member
Posts: 53
Joined: 2004-04-15, 10:17 UTC

Post by *joeyeti »

Here is my Slovak translation :wink:

http://joeyetijoe.szm.com/translations/slovak.mpl

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

Post by *D1P »

Here is my Slovak translation
Thanks!

v. 0.92a is uploaded. Changelist:

+ Unsaved changes indicator in mailbox options added.
+ New user columns: UID (message unique identifier) and MsgID (message identifier).
+ New user column: Cached. It displays message cache status (in cache or not). Sometimes cache status displayed incorrectly (because caching operation is done slower than TC refresh message list).
+ Language files: slovak.mpl (from Jozef Kundlak), polish.mpl (from Dariusz J. Kawecki), german.mpl (from Alexandre Mayor), danish.mpl (from Peter H. S. Madsen).
* Serious changes and bugfixes in caching mechanism.

I made really serious changes in caching routines, because a little bit of really serious problems has been found.
Now cache is cleared at message removal from the server, and also at plugin executing. I.e. cache now is used only during one session, and at creation of new session it cleared.
If you will find any problems with caching, just disable it in plugin options.
User avatar
joeyeti
Junior Member
Junior Member
Posts: 53
Joined: 2004-04-15, 10:17 UTC

Post by *joeyeti »

Great!

Hope the development goes this fast forever! ;)

Anyway, tested on a different computer (with 6.55) and the Access Violation showed too... so possibly all older versions prior 7 maybe?

J.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Thanks for the update.
D1P wrote: + Unsaved changes indicator in mailbox options added.
It's better but I still would prefer a warning becasue if you change a tab (eg. to Options) you can't see the info about unsaved changes.

Could you set as default action "On Enter" - Internal viewer - it seems to be more natural. People more often view the messages than answer them.

While adding custom columns could you change <fs> into <mail>, eg. instead of [=<fs>.Date] it would be better [=<mail>.Date]
Could the strings be also translatable like in wdx plugins?

Current version of Polish lang file:

Code: Select all

MIME-Version: 1.0
Content-Type: application/octet-stream; name="polish.mpl"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="polish.mpl"

MD1Qb2xpc2ggYnkgRGFyaXVzeiBKLiBLYXdlY2tpICAoZGprKQ0KMT1MaXN0YSBrb250IHBvY3p0
b3d5Y2gNCjI9T2RiaWVyYW5pZSBwb2N6dHkNCjM9U2Vyd2VyIFBPUDMgW3BvcnRdOg0KND1Vv3l0
a293bmlrOg0KNT1IYXOzbzoNCjY9VXdhZ2EhIEhhc7NvIHphcGlzeXdhbmUgamVzdCBiZXogc3p5
ZnJvd2FuaWEhDQo3PVd5c3mzYW5pZSBwb2N6dHkNCjg9U2Vyd2VyIFNNVFAgW3BvcnRdOg0KOT1J
bmZvcm1hY2plIG8gbmFkYXdjeQ0KMTA9T2Q6DQoxMT1FLW1haWw6DQoxMj1Pcmdhbml6YWNqYToN
CjEzPSZEb2Rhag0KMTQ9JlVzdfENCjE1PSZaYXN0b3N1ag0KMTY9T0sNCjE3PUFudWx1ag0KMTg9
V3Byb3dhZHphbmllIGhhc7NhDQoxOT1OaWUgcG9kYW5vIGhhc7NhIGRsYSB0ZWdvIGtvbnRhLiBX
cHJvd2FknyBoYXOzbywgYWJ5IHV6eXNrYeYgZG9zdOpwLg0KMjA9SGFzs286DQoyMT1aYXBpc3og
aGFzs28gKG5pZSBweXRhaiBwb25vd25pZSkuDQoyMj1Qb2JpZXJhbmllIHBvY3p0eSB6IGtvbnRh
ICVzDQoyMz1OaWUgbW+/bmEgcG+zuWN6eeYgc2nqIHogc2Vyd2VyZW0gLyBicmFrIGRvc3TqcHUg
ZG8ga29udGEuD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cm9ncmFtICh3eXN5s2FuaWUgd2lhZG9tb5xjaSkNCjUzPVpl
d27qdHJ6bnkgcHJvZ3JhbSBza29qYXJ6b255IHogKi5lbWwNCjU0PU5hIGfzcnplDQo1NT1OYSBk
b2xlDQo1Nj1QbyBsZXdlag0KNTc9UG8gcHJhd2VqDQo1OD1MaXN0YSB6IGR1v3ltaSBpa29uYW1p
DQo1OT1MaXN0YSB6IG1hs3ltaSBpa29uYW1pDQo2MD1MaXN0YSBiZXogaWtvbg0KNjE9Wm9iYWN6
IHdpYWRvbW+c5g0KNjI9VXR383J6IHdpYWRvbW+c5g0KNjM9T2Q6DQo2ND1EbzoNCjY1PVRlbWF0
Og0KNjY9WmFwaXN6DQo2Nz1aYXBpc3ogd3N6eXN0a2llDQo2OD1aYXBpc3ogZG8uLi4NCjY5PVph
cGlzeiB3c3p5c3RraWUgZG8uLi4NCjcwPVphcGlzeiB6YbO5Y3puaWtpDQo3MT1XeWJpZXJ6IGRv
bXmcbG55IGZvbGRlciB6YXBpc3UgemGzuWN6bmlr83cNCjcyPVByemVjaG93dWogdyBidWZvcnpl
IG9kY3p5dGFuZSB3aWFkb21vnGNpDQo3Mz1NYXN6IG5pZSB6YXBpc2FuZSB6bWlhbnkh

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 »

Anyway, tested on a different computer (with 6.55) and the Access Violation showed too... so possibly all older versions prior 7 maybe?
I have plugin checkup on TC 6.55 and have the same violation which you reported. So, probably, it is a plugin interface bug, though I shall carry out more detailed check that to be convinced.
It's better but I still would prefer a warning becasue if you change a tab (eg. to Options) you can't see the info about unsaved changes.
I shall not make any warnings. The red mark seems to me more, than sufficient.
Could you set as default action "On Enter" - Internal viewer - it seems to be more natural. People more often view the messages than answer them.
No problem here, i'll change this.
While adding custom columns could you change <fs> into <mail>, eg. instead of [=<fs>.Date] it would be better [=<mail>.Date]
It is TC restriction, sorry.
Could the strings be also translatable like in wdx plugins?
Of course, it translatable. I don't spread translations because changes in the user columns are possible, but you can make translation independently if he is necessary for you.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

D1P wrote:
It's better but I still would prefer a warning becasue if you change a tab (eg. to Options) you can't see the info about unsaved changes.
I shall not make any warnings. The red mark seems to me more, than sufficient.
OK, I see, you are the author, I only put my suggestions and I'm glad that you take some of them into account :-)
D1P wrote:
While adding custom columns could you change <fs> into <mail>, eg. instead of [=<fs>.Date] it would be better [=<mail>.Date]
It is TC restriction, sorry.
Does it mean that if there are several wfx plugins using custom columns all of them (all the columns) will be in the same group <fs>? It doesn't seem to be a good solution, are you sure of it?
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
guent peer
Member
Member
Posts: 124
Joined: 2003-02-14, 08:15 UTC

Post by *guent peer »

Nice plugin! :D
Thanx!!!

guent
User avatar
wanderer
Power Member
Power Member
Posts: 1578
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

Great plugin.

A few quick comments:

1. After installing it, i closed and reopened TC (7b2). The "mail" in the "\" list appeared all in lowercase (this did not happen the fist time, before closing and reopening TC). I've seen this in another plugin too so it got me thinking it may be a TC issue and not a plugin one.

2. It would be nice if it could be used as a background mail checker (autocheck for new mail every XXX seconds ;) ).

Thanks for releasing it. It's just great.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
D1P
Senior Member
Senior Member
Posts: 233
Joined: 2005-02-28, 18:29 UTC
Location: Moscow
Contact:

Post by *D1P »

Does it mean that if there are several wfx plugins using custom columns all of them (all the columns) will be in the same group <fs>? It doesn't seem to be a good solution, are you sure of it?
No, if you setup user columns for one plugin, the <fs> group will contain only this plugin columns only. That is any mess will not arise. To be convinced download this plugin (it also supports the user columns): http://decget.narod.ru/decClipboardFS.rar
1. After installing it, i closed and reopened TC (7b2). The "mail" in the "\" list appeared all in lowercase (this did not happen the fist time, before closing and reopening TC). I've seen this in another plugin too so it got me thinking it may be a TC issue and not a plugin one.
Yes, youre right, it looks as TC issue.
2. It would be nice if it could be used as a background mail checker (autocheck for new mail every XXX seconds ).
May be later, when more necessary things will be implemented.
User avatar
petermad
Power Member
Power Member
Posts: 14807
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Updated Danish translation for v 0.92a

Code: Select all

MIME-Version: 1.0
Content-Type: application/octet-stream; name="danish.mpl"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="danish.mpl"

MD1EYW5zayBhZiBQZXRlciBILiBTLiBNYWRzZW4gKHBldGVybWFkKQ0KMT1FbWFpbC1rb250aQ0K
Mj1JbmRn5WVuZGUgcG9zdA0KMz1QT1AzIHNlcnZlciBbcG9ydF06DQo0PUtvbnRvbmF2bjoNCjU9
QWRnYW5nc2tvZGU6DQo2PUJlbeZyayEgQWRnYW5nc2tvZGVuIGdlbW1lcyB1a3J5cHRlcmV0IHNv
bSByZW4gdGVrc3QhDQo3PVVkZ+VlbmRlIHBvc3QNCjg9U01UUCBzZXJ2ZXIgW3BvcnRdOg0KOT1C
cnVnZXJvcGx5c25pbmdlcg0KMTA9TmF2bjoNCjExPUVtYWlsOg0KMTI9T3JnYW5pc2F0aW9uOg0K
MTM9JlRpbGb4ag0KMTQ9JlNsZXQNCjE1PSZVZGb4cg0KMTY9T0sNCjE3PUFubnVsbGVyDQoxOD1B
bm1vZG5pbmcgb20gYWRnYW5nc2tvZGUNCjE5PURlciBlciBpa2tlIGFuZ2l2ZXQgbm9nZW4gYWRn
YW5nc2tvZGUgZm9yIGRlbm5lIGVtYWlsLWtvbnRvLiBBbmdpdiBhbmdhbmdza29kZSBmb3IgYXQg
ZuUgYWRnYW5nLg0KMj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cmluZ2VyLCBzb20gaWtrZSBlciBnZW10IQ0K
Or http://madsenworld.dk/tcmd/total_mail_danish.zip
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
guent peer
Member
Member
Posts: 124
Joined: 2003-02-14, 08:15 UTC

Post by *guent peer »

Dear author,

would it possible to separate the prefix (e.g. [1]_) from the subject of the email, possibly by placing the prefix as well as the subject in separate columns?

By doing so it would be possible to sort the subjects, something which would be very valuable for me (and maybe not only for me)

really nice plugin!!!

guent
User avatar
petermad
Power Member
Power Member
Posts: 14807
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2D1P

The strings in the Internal viewers right click menu for attachments:
66=Save
67=Save all
68=Save to...
69=Save all to...
Does not use the language file.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
D1P
Senior Member
Senior Member
Posts: 233
Joined: 2005-02-28, 18:29 UTC
Location: Moscow
Contact:

Post by *D1P »

would it possible to separate the prefix (e.g. [1]_) from the subject of the email, possibly by placing the prefix as well as the subject in separate columns?
I have already answered in this thread why I cannot remove these prefixes. Sorry.
By doing so it would be possible to sort the subjects, something which would be very valuable for me (and maybe not only for me)
Use user columns to see "clean" subject. Anyway, subjects in virtual filenames are changed - some symbols (like "\", ":" and some more) replaced to "_" in it.
The strings in the Internal viewers right click menu for attachments:
Ok, it will be fixed.
guent peer
Member
Member
Posts: 124
Joined: 2003-02-14, 08:15 UTC

Post by *guent peer »

Use user columns to see "clean" subject. Anyway, subjects in virtual filenames are changed - some symbols (like "\", ":" and some more) replaced to "_" in it.
Sorry, I didn't realize that it is possible to use user defined columns in this case. This definitely solves my problem, thanks!
Post Reply