outlook by command line or batch file.

M

Mary

Hi, I am trying to write a batch file to send email after an event happens.
I am using this command line to send mail, this command only opens a new
message with subject and body, but I have to manually press send.

how do I make it to actually **send ** mail, through a batch file.

the batch file runs some tasks and suppose to send notification email
afterward,

Please help. thanks.

this is the command that does not work, and only opens a message:
"C:\Program Files (x86)\Microsoft Office\OFFICE11\OUTLOOK.EXE" /c ipm.note
/m "mailto:[email protected]&subject=test"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top