shortcut for sending a file as email attachment to a particular recipient.

Discussion, questions and support.
Post Reply
prasad383
Posts: 19
Joined: Oct 18th, ’19, 14:43

Post by prasad383 » Nov 20th, ’19, 09:21

Is it possible to make a shortcut for sending a file as email attachment to a particular recipient in one go using fastkeys?
User avatar
Marko
Posts: 1719
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Nov 20th, ’19, 11:59

If you use Outlook then this should work (Type: Command):

Code: Select all

m:=ComObjActive("Outlook.Application").CreateItem(0)
m.Subject:="Attachment"
m.To:="abc@123.com"
m.Body:="Please find attached..."
m.attachments.add("C:\Folder\file.txt")
m.Display
prasad383
Posts: 19
Joined: Oct 18th, ’19, 14:43

Post by prasad383 » Nov 20th, ’19, 13:22

Thank you very much for the reply. Is it possible using default mail app of windows 10?
Hallees
Posts: 1
Joined: Nov 23rd, ’19, 09:41

Post by Hallees » Nov 25th, ’19, 13:42

Does the version of Outlook make a difference or should this work with all of them?
User avatar
Marko
Posts: 1719
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Nov 26th, ’19, 22:25

I think it should work in all recent Outlook versions. I don't know if it's possible to automate Windows 10 Mail application.
Post Reply