Page 1 of 1

[Req] Pack and email

Posted: 2007-02-26, 12:17 UTC
by oafish
Could Totalcmd add a new feature.
A command that can pack files and send compressed file as a email attachment. Of cause not keep temporary compressed file.
Just like winzip and winrar provide in right click menu.

Posted: 2007-02-26, 14:26 UTC
by PeaceMaker
Not a good idea for me... Don't try to make Total Commander a "multi" tool - it's a file manager :!: :!: :!:

Posted: 2007-02-27, 01:11 UTC
by oafish
PeaceMaker wrote:Not a good idea for me... Don't try to make Total Commander a "multi" tool - it's a file manager :!: :!: :!:
I think Totalcmd is charming case it is "multi" function. Totalcmd just call default email client (outlook) to send compossed attachment. It still file manager. Just like windows explore provide "send to->mail recipient"

Posted: 2007-02-27, 05:46 UTC
by ThurahT
I dont get it.. You just use the "right click" button on your keyboard or the mouse and you have the ordinary context menu as in explorer....??

Posted: 2007-02-27, 06:56 UTC
by oafish
ThurahT wrote:I dont get it.. You just use the "right click" button on your keyboard or the mouse and you have the ordinary context menu as in explorer....??
I means select several files then use one command to compress them to a zip file and compose a empty email with this zip file as attachment.
Combine pack and send to->mail recipient to one command.

Posted: 2007-02-27, 08:59 UTC
by VadiMGP
2oafish
I need exactly what you want. But I think it is impossible to do in TC. Mostly because of this requirement
Of cause not keep temporary compressed file
In general case TC couldn't know whether mail was send or not. Solution is client-dependant.

I'm using Thunderbird and I solved this issue in the following way
1. I've created a bitton to open a new Thunderbird compose window

Code: Select all

TOTALCMD#BAR#DATA
"D:\Program Files\Mozilla Thunderbird\thunderbird.exe"
-compose "subject=Sending File %N,attachment='file:///%P%N'"
D:\Program Files\Mozilla Thunderbird\thunderbird.exe
Send File under cursor


-1
2. I've installed Thunderbird extention - AutoZip.
If you want to send several selected files you have to slightly modify compose command to use %S parameter.

Posted: 2007-02-28, 06:31 UTC
by oafish
What I means is when packed file is add as a attachment. The packed file should be delete. For example if you add a file to a mail. Whether you send email or not. you can delete original file.
I am use Outlook and Exchange server in office.

Context menu is use follow command to add some files to email attachment.
Mail Recipient.MAPIMail=@sendmail.dll,-4
Could someone create a TC command base on it?

Posted: 2007-02-28, 18:46 UTC
by Motorocker
Use RAR packer
Select files, select RAR packer, check «Move to archive»
Type «-ieml» after archive name like «rar:d:\temp\test.rar -ieml»
Press OK. Enjoy!

or add button to run WinRAR with this parameters to button bar.