I am trying to create a new email from command line and automatically add an attachment. The following is the closest I have gotten, it works apart from adding the attachment. I have also tried using &attach=... and &attachment=...

start mailto:emailadress?subject=My email&body=some text&attachments="c:/AUTOEXEC.BAT"

link|improve this question

60% accept rate
feedback

1 Answer

up vote 1 down vote accepted

I figured it out. It works using the following commmand:

C:\Program Files\IBM\Lotus\Notes>notes mailto:email@address.com?attach=c:\autoexec.bat

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.