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"
Answer
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
No comments:
Post a Comment