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
Post a Comment