Open outlook's new email dialog with prefilled information from powershell -



Open outlook's new email dialog with prefilled information from powershell -

i'm trying write powershell script (which run periodicaly) opening new email windows of outlook "to", "subject" , "body" filled data.

i found way send mails powershell have send powershell. doesn't fit need because have edit body of mail.

$outlook = new-object -comobject outlook.application $mail = $outlook.createitem(0) $mail.to = "random.dude@email.com" $mail.subject = "data subject" $mail.body ="example of body..." $mail.send()

basicaly need $mail.show() wich open new e-mail popup info pre-filled

powershell not requirement, seams able manipulate outlook tried it.

thanks this thread, $mail.show() $mail.display()

email powershell outlook

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -