Is there a plugin to send emails with selected file as attachment ?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
ChapierX
Junior Member
Junior Member
Posts: 26
Joined: 2018-12-14, 19:18 UTC

Is there a plugin to send emails with selected file as attachment ?

Post by *ChapierX »

is there a way that selected files that have been highlighted at the TC main panel be attached as email attachments at Outlook?
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: plugin to send emails

Post by *Hacker »

ChapierX,
Usually right click - Send to - Mail recipient.

HTH
Roman
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.
User avatar
Stefan2
Power Member
Power Member
Posts: 4132
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: plugin to send emails

Post by *Stefan2 »

You can automate office by command line switches.

https://support.office.com/en-us/article/command-line-switches-for-microsoft-office-products-079164cd-4ef5-4178-b235-441737deb3a6
>>> Outlook

"c:\program files\microsoft office\office15\outlook.exe" /a "c:\my documents\labels.doc"

- - -

TC can aid you by execute DOS commands and providing %Parameters to pass selected file names.

"c:\program files\microsoft office\office15\outlook.exe" /a %P%N


Right click an button in TC buttonbar, >> Change... >> [Help]

( use that %P%N without quotes, as TC will add them himself if he detect a space in path/filename )

Exemple button:
Command: "c:\program files\microsoft office\office15\outlook.exe"
Parameter: /a %P%N
Start path:
Icon: "c:\program files\microsoft office\office15\outlook.exe"
Tooltip: what do i do?

- - -


And there are a few scripts doing such things for example with COM objects:
viewtopic.php?p=301286#p301286

Pseudo script:

Code: Select all

Set App = GetObject(, "Outlook.Application")
Set AppItem = App.CreateItem(0)

	Set oTextStream = FSO.OpenTextFile(sTCtempList,FORREADING)
	Do Until oTextStream.AtEndOfStream
		vFullName = oTextStream.ReadLine
				
		'//Add current file name to Outlook:
		AppItem.Attachments.Add  vFullName
		
	Loop
	oTextStream.Close
	
'//Open Outlook:
AppItem.Display



 
User avatar
ChapierX
Junior Member
Junior Member
Posts: 26
Joined: 2018-12-14, 19:18 UTC

Re: plugin to send emails

Post by *ChapierX »

sorry I don't get it too much

what should I do if I would like to open the Outlook new mail Window including as attachments the files selected at the current TC panel?
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: plugin to send emails

Post by *Dalai »

Does drag'n'drop'ing the files (from TC to Outlook) work? It does in Thunderbird and The Bat.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
ChapierX
Junior Member
Junior Member
Posts: 26
Joined: 2018-12-14, 19:18 UTC

Re: plugin to send emails

Post by *ChapierX »

regardless that, my question is different
thanks!
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: plugin to send emails

Post by *Horst.Epp »

ChapierX wrote: 2019-01-19, 20:12 UTC sorry I don't get it too much

what should I do if I would like to open the Outlook new mail Window including as attachments the files selected at the current TC panel?
Try a button as stefan2 said above.

Command: "c:\program files\microsoft office\office15\outlook.exe"
Parameter: /a %P%N

Modify according to your Outlook installation of course.
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
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Re: plugin to send emails

Post by *tbeu »

ChapierX wrote: 2019-01-18, 19:04 UTC is there a way that selected files that have been highlighted at the TC main panel be attached as email attachments at Outlook?
Not Outlook, but Blat can 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
Post Reply