[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: sheep, Hacker, Stefan2, white

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

Post by *D1P »

when we will get Address book?
When it will be done, certainly ;)

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

Post by *petermad »

2D1P
Do you know the version of the libeay32.dll and lssleay32.dll files that you distribute with TCMail ?
License #524 (1994)
Danish Total Commander Translator
TC 9.5b10 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.960 (x64)
TC 3.0b13 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
dzonson
Junior Member
Junior Member
Posts: 7
Joined: 2007-02-09, 14:25 UTC
Location: Serbia

Post by *dzonson »

gbo wrote: You should use Locate :wink:

Thanks to petermad and D1P to explain how to integrate this plugin with G-mail account.
Yes it is..."locate 32" is great tool,thanks! :wink:

User avatar
dzonson
Junior Member
Junior Member
Posts: 7
Joined: 2007-02-09, 14:25 UTC
Location: Serbia

Post by *dzonson »

petermad...

If You have time will You take a look this and after you consider it, please answer me on this my comment:

Tell me exactly what you have written in SMTP verificering column ,it is not quite clear?
And what about other column.
In plugin instruction note are written:

Mail receiving server: pop.gmail.com
Port: 995
Username: your_gmail_acc_name@gmail.com
Password: your_password
mail sending server: smtp.gmail.com
Port: 465”

..Does it mean that that I should put parameters like this:
Username: orgonster or,
Username: orgomster@gmail.com
And what about the the:
SMTP Server “name {port]…?
"25"...or "465"...?
In your instructions the name of SMTP Server is empty...maybe that is how have to be...?

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

Post by *D1P »

Do you know the version of the libeay32.dll and lssleay32.dll files that you distribute with TCMail ?
Yes. It is Indy OpenSSL libs ver. 0,96m. It is special SSL libraries, compiled with Indy compatibility. They not compatible with libraries, which TC requires to provide ftps connections, but have identical names. And they must be placed in main app directory (i.e. in TC main directory in our case), not in plugin directory. I will try to avoid this restriction later (i must rewrite indy sources to do that), because it can produce a lot of bugs, and i prefer to fix all known bugs first.
If you need ftps support in TC now, you can place TC SSL libraries to system32 dir.
In your instructions the name of SMTP Server is empty...maybe that is how have to be...?
Google SMTP not implemented at this moment, therefore all SMTP information useless in any case.

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

Post by *petermad »

2dzonson
In the example i gave ( http://www.madsen.homepage.dk/tcmd/gmail.png ) I didn't set up a SMTP account - since you already had another smtp account and you only need one.

But when you set up SMTP for gmail it should be something like:

SMTP server: smtp.gmail.com
SMTP port: 587
Username: orgomster@gmail.com

NOTE: I haven't tried gmail smtp in TCMAIL myself - those are the gmail SMTP settings from my SeaMonkey client.

According to gmail help: http://mail.google.com/support/bin/answer.py?answer=13284&topic=1556 the username is in the form your_name@gmail.com
License #524 (1994)
Danish Total Commander Translator
TC 9.5b10 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.960 (x64)
TC 3.0b13 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

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

Post by *petermad »

they not compatible with libraries, which TC requires to provide ftps connections,
Thank you very much - that's important information.
License #524 (1994)
Danish Total Commander Translator
TC 9.5b10 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.960 (x64)
TC 3.0b13 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
pajo
Member
Member
Posts: 181
Joined: 2005-02-18, 17:57 UTC
Location: Croatia

Post by *pajo »

D1P wrote:
Do you know the version of the libeay32.dll and lssleay32.dll files that you distribute with TCMail ?
Yes. It is Indy OpenSSL libs ver. 0,96m. It is special SSL libraries, compiled with Indy compatibility. They not compatible with libraries, which TC requires to provide ftps connections, but have identical names. And they must be placed in main app directory (i.e. in TC main directory in our case), not in plugin directory. I will try to avoid this restriction later (i must rewrite indy sources to do that), because it can produce a lot of bugs, and i prefer to fix all known bugs first.
If you need ftps support in TC now, you can place TC SSL libraries to system32 dir.
In your instructions the name of SMTP Server is empty...maybe that is how have to be...?
Google SMTP not implemented at this moment, therefore all SMTP information useless in any case.

I'm using your dll's and I just tested ftps connect with two servers and everthing works OK :-)

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

Post by *D1P »

I'm using your dll's and I just tested ftps connect with two servers and everthing works OK
Confirmed. I can establish secure connection with the server, where implicit SSL was enabled. But it doesn't work if Explicit SSL/TLS mode has been enabled (it is default mode on my test FTP server, therefore i had failure earlier). May be, it is normal behavior, i don't know.

sgp
Senior Member
Senior Member
Posts: 355
Joined: 2005-01-31, 16:04 UTC

"hard disk" mailbox?

Post by *sgp »

Sorry to jump in like this, I haven't followed the whole thread, but I was wondering if there's been some discussion about allowing the MAILER plugin to work with eml files on the hard disk. Perhaps a special kind of account box could be created, that has SMTP settings but replaces POP settings with a folderpath. Then when a user receives mail messages he can archive (copy) them to a folder, and if he wants to reuse/forward them, he can open the archive folder in the MAIL plugin using the special account. Just an idea...

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

Post by *D1P »

Sorry to jump in like this, I haven't followed the whole thread, but I was wondering if there's been some discussion about allowing the MAILER plugin to work with eml files on the hard disk. Perhaps a special kind of account box could be created, that has SMTP settings but replaces POP settings with a folderpath. Then when a user receives mail messages he can archive (copy) them to a folder, and if he wants to reuse/forward them, he can open the archive folder in the MAIL plugin using the special account. Just an idea...
Why you can't use a real folder? Store any eml-files where you want, and reuse them as you want. You can open any eml file in plugin built-in editor, or just copy file into plugin file system (this feature added in 1.0 alpha 1).

Here is new alpha: http://wincmd.ru/files/WFX_MAIL_1.0a2.rar (896 kb).

I tried to fix all problems with messages sending, but i can't test it, because i can't reproduce it. I use sources of sample indy mailer, which works for all users. Also simple address book added. It is really VERY simple, but it unfinished yet. I want to hear users wishes before i'll add something.

User avatar
pajo
Member
Member
Posts: 181
Joined: 2005-02-18, 17:57 UTC
Location: Croatia

Post by *pajo »

2Author
1. reply to message is still not working- not from alt+enter -settings in plugin or with -a switch from button bar when eml file is selected. TCmail open in answer mode but with blank address bar and blank body (not in reply mode).

2.address book can't save entries.nice option would be to import entries from WAB :-)
3. sending is still not possible from any other account other than default
4.tick for "save all entered address" is always unchecked.

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

Post by *petermad »

2D1P
I can confirm all of pajo last posting.

If I try to send from another account than the default I get this:
---------------------------
Totalcmd
---------------------------
Access violation at address 7C913144 in module 'ntdll.dll'. Write of address 02B853D5.
---------------------------
OK
---------------------------
Request:
It would be nice if the size of the address book window could be remembered.


Danish translation of version 1.0a2:

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"

MD1EYW5zayBhZiBQZXRlciBILiBTLiBNYWRzZW4gKHBldGVybWFkKQ0KMT0gRW1haWwta29udGkg
DQoyPSBJbmRn5WVuZGUgcG9zdCANCjM9UE9QMyBzZXJ2ZXIgW3BvcnRdOg0KND1Lb250b25hdm46
DQo1PUFkZ2FuZ3Nrb2RlOg0KNj1CZW3mcmshIEFsbGUgYWRnYW5nc2tvZGVyIGdlbW1lcyB1a3J5
cHRlcmV0IHNvbSByZW4gdGVrc3QhDQo2PSBBZHZhcnNlbCEgQXQgZ2VtbWUgYWRnYW5nc2tvZGVu
IGVyIGlra2Ugc2lra2VydCENCjc9IFVkZ+VlbmRlIHBvc3QgDQo4PVNNVFAgc2V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IGFkZHJlc3NlYm9nDQoxNTM9IEVtYWlscyANCjE1ND0gRW1haWwtaW5mbyAN
CjE1NT1BbnZlbmQgZGV0IHZhbGd0ZQ0KMTU2PVRpbGb4aiBueSBhZHJlc3NlDQoxNTc9U2xldCBh
ZGRyZXNzZQ0KMTU4PU9tZPhiIGFkZHJlc3NlDQoxNTk9VmlzIGFkZHJlc3NlbGlzdGUNCjE2MD1U
aWxm+GogdGlsIGFkZHJlc3NlYm9nDQo=
Or http://www.madsen.homepage.dk/tcmd/total_mail_danish.zip
License #524 (1994)
Danish Total Commander Translator
TC 9.5b10 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.960 (x64)
TC 3.0b13 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

sgp
Senior Member
Senior Member
Posts: 355
Joined: 2005-01-31, 16:04 UTC

Post by *sgp »

D1P wrote: Why you can't use a real folder? ... just copy file into plugin file system (this feature added in 1.0 alpha 1)
Thanks D1P, this feature is all I needed to use a real folder. I'll test more with 1.0a3 when you release it.

User avatar
Hacker
Moderator
Moderator
Posts: 11460
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

petermad,
Please only post links to translations.

Thank you
Hacker (Moderator)
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

Post Reply