WCX: Blat Mailer plugin

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
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Why would you need that if TC has built-in and external packer support?
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
billiebub
Member
Member
Posts: 187
Joined: 2011-04-12, 19:49 UTC

Post by *billiebub »

I was just thinking that you select the files to send from the panel, pack them to blat, and blat would zip them up then send them. Using TC's will require two steps, first compress them then send the compressed file to blat. I was just thinking doing it all in one shot. Don't worry about it.
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Since I am not sure if it is possible to send the output of one packer as input of the next packer, I guess, a simple (batch) script placed in the button bar can also do it.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
dmocha
Junior Member
Junior Member
Posts: 52
Joined: 2013-05-05, 19:09 UTC
Location: Poland

Post by *dmocha »

Hi,
I have a little problem with the button configuration.
My blat.ini file is located:
%COMMANDER_PATH%\user_ini\blat.ini
When I use packer (without the button) and I choose 'configure' I see own configuration data with all parameters and everything works fine.
However, when I tried to use the button with data, exactly:

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\plugins\wcx\Blat\blat64.exe
?%P%S64
%COMMANDER_PATH%\plugins\wcx\Blat\blat64.exe
Blat
%COMMANDER_PATH%\plugins\wcx\Blat\

-1

First appears the command line with the selected file, and then shows a blank window of Blat, without my configuration data. It looks like the button there is no link with blat.ini
I suspect that I need to change something in my TOTALCMD#BAR#DATA but I do not know what?

Below is an excerpt from the TC configuration file:

Code: Select all

[PackerPlugins]
blat=277,%COMMANDER_PATH%\plugins\wcx\Blat\blat.wcx
regards
dmocha
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

If you call the packer directly (without button) then blat.exe is not involved. If you call blat.exe from a button then blat.exe needs to know the path of blat.ini which it passed to blat.wcx (by function PackSetDefaultParams). It checks the path for wincmd.ini in
1. HKCU\Software\Ghisler\Total Commander\IniFileName
2. HKLM\Software\Ghisler\Total Commander\IniFileName
3. %APPDATA%\GHISLER\wincmd.ini
and assumes that blat.ini is in the same directory as wincmd.ini. The plugin blat.wcx first checks if there is blat.ini in the same directory as blat.wcx and alternatively uses the passed path from above with %APPDATA%\GHISLER\blat.ini as fallback path.

So its strange why the plugin blat.wcx actually finds %COMMANDER_PATH%\user_ini\blat.ini if blat.exe does not find it.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
dmocha
Junior Member
Junior Member
Posts: 52
Joined: 2013-05-05, 19:09 UTC
Location: Poland

Post by *dmocha »

So its strange why the plugin blat.wcx actually finds %COMMANDER_PATH%\user_ini\blat.ini if blat.exe does not find it
In this location, I have also a TC config file.
I did the test, I replaced location for the blat.ini and I moved file from %COMMANDER_PATH%\user_ini\ to %COMMANDER_PATH%\plugins\wcx\Blat\
Button works, but this time "packer" doesn't work.
regards
dmocha
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

dmocha wrote:Button works, but this time "packer" doesn't work.
Did you restart TC?
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
jayrich
New Member
New Member
Posts: 1
Joined: 2020-12-22, 04:50 UTC

Re: WCX: Blat Mailer plugin

Post by *jayrich »

gI'm using gmail

I'm curious how to set blat.

When writing is not possible, an error message is displayed.
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: WCX: Blat Mailer plugin

Post by *hi5 »

jayrich wrote: 2020-12-22, 04:54 UTCI'm using gmail
See the instructions here viewtopic.php?p=146889#p146889
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
giulia
Senior Member
Senior Member
Posts: 303
Joined: 2013-09-14, 05:33 UTC
Location: Europe

Re: WCX: Blat Mailer plugin

Post by *giulia »

Hi
I was searching a plugin like this
I have problem to create a button to send several files via email (even i have searched in the forum , here)?
thanks
love Total Commander , best file manager ever made
BuBi
New Member
New Member
Posts: 1
Joined: 2020-01-23, 04:15 UTC

Re: WCX: Blat Mailer plugin

Post by *BuBi »

giulia wrote: 2021-02-24, 18:31 UTC Hi
I was searching a plugin like this
I have problem to create a button to send several files via email (even i have searched in the forum , here)?
thanks
Blat button I use to email several files:

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Plugins\wcx\blat\blat64.exe
%P%S64
c:\totalcmd\icons\E-mail.ico
E-mail files with Blat
%COMMANDER_PATH%\Plugins\wcx\blat\
0
-1
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Re: WCX: Blat Mailer plugin

Post by *Peter »

There are current blat-versions from 2019. Any need for an update?
TC 10.xx / #266191
Win 10 x64
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: WCX: Blat Mailer plugin

Post by *Horst.Epp »

Peter wrote: 2021-05-31, 12:55 UTC There are current blat-versions from 2019. Any need for an update?
For what reason ?
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Re: WCX: Blat Mailer plugin

Post by *Peter »

Basically for no special reason, just a question on the assumption "newer is (often) better"

But at the moment I tried to use it with a server which requires
- "activated TLS encryption" and
- Authentification yes (hosted Exchange Account)

and it does not work ..

Code: Select all

2021.05.31 17:01:52 (Mon): >>>putline>>> AUTH LOGIN
2021.05.31 17:01:57 (Mon): <<<getline<<< 504 5.7.4 Unrecognized authentication type
2021.05.31 17:01:57 (Mon): *** Warning ***  The SMTP server does not require AUTH LOGIN.
*** Warning ***  Are you sure server supports AUTH?
The documentation here http://www.blat.net/syntax does not use the word TLS .. - can blat used there?
TC 10.xx / #266191
Win 10 x64
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: WCX: Blat Mailer plugin

Post by *Usher »

Peter wrote: 2021-05-31, 15:12 UTC The documentation here http://www.blat.net/syntax does not use the word TLS .. - can blat used there?
It's an old documentation, the newer one is here: http://www.blat.net/syntax/syntax.html
However, Blat seems to not support SSL/TLS. You should use some proxy/tunnel, for example stunnel. Read this topic:
https://sourceforge.net/p/blat/discussion/279864/thread/de32516d/
You can ask questions on SourceForge forum, one of Blat maintainers is still present there: https://sourceforge.net/p/blat/discussion/
Andrzej P. Wozniak
Polish subforum moderator
Post Reply