I need to send an email through outlook that already has all the details filled in (eg. subject, body, etc), except it has to be done through some sort of script. This can be any script that works on Windows 10.
Essentially, all I need the script to do is 'click' send on the email. Is there anyway to do this, or is this impossible. The preferable script types are .bat
, .cmd
, and .vbs
. I don't want to use any 3rd party software.
This is what I currently have in my batch file, again I just need the script to send the email:
cd C:\Program Files (x86)\Microsoft Office\root\Office16 & start outlook.exe /c ipm.note /m "someone@gmail.com?subject=subject here"
I will be filling out the body of the email by another script, which I have managed to do. If you have any ideas about alternative options, still reply, it might be useful.
Here is an image of what I need to be sent by a script file:
Thanks in advance.