Create Oulook E-mail from Batch File
Posted: 21 Dec 2012 00:13
Hi all,
I am a relative newbie to batch files. I'm more used to bash scripting. Just wondering if it is possible to create a batch file that will open outlook and edit an e-mail template or create a specifically formatted e-mail?
For example I have an e-mail that I send out regularly after creating a new Active Directory user that contains their username and phone number etc among other user specific info. At the moment I open outlook and manually edit the e-mail. I would rather that the batch file could grab the required details from Active directory and use this information to replace certain text in the email. Is this possible?
I know I can do something using the following format but then I loose all the formatting that outlook offers and there is a character limit AFAIK!
mailto:to?subject=subject&cc=cc_address&bcc=bcc_address&body=message_body
Any suggestions would be appreciated! Also I would rather not to use 3rd party tools/apps if possible
Thanks
I am a relative newbie to batch files. I'm more used to bash scripting. Just wondering if it is possible to create a batch file that will open outlook and edit an e-mail template or create a specifically formatted e-mail?
For example I have an e-mail that I send out regularly after creating a new Active Directory user that contains their username and phone number etc among other user specific info. At the moment I open outlook and manually edit the e-mail. I would rather that the batch file could grab the required details from Active directory and use this information to replace certain text in the email. Is this possible?
I know I can do something using the following format but then I loose all the formatting that outlook offers and there is a character limit AFAIK!
mailto:to?subject=subject&cc=cc_address&bcc=bcc_address&body=message_body
Any suggestions would be appreciated! Also I would rather not to use 3rd party tools/apps if possible
Thanks