Outlook signature This topic contains 4 replies, has 3 voices, and was last updated by Brad 4 months ago. Author Posts September 20, 2016 at 7:50 pm #54339 BradParticipant Hi, Need help to add signature to email my code: $Outlook = New-Object -comObject Outlook.Application $mail = $Outlook.CreateItem(0) $mail.Subject = "TTT" #$mailSign = Get-Content ($env:USERPROFILE + "\AppData\Roaming\Microsoft\Signatures\*.html") $mail.Body = "Hi, " $mail.Save() $inspector = $mail.GetInspector $inspector.Display() September 20, 2016 at 9:30 pm #54345 Chris BakkerParticipant Struggled with that one, this worked for me. Although is doesnt look very nice... $text="hi guys" $temp=$mail.body $mail.htmlbody=get-content $env:appdata\Microsoft\Signatures\*.htm $mail.body= $text +$mail.body + $temp September 20, 2016 at 9:54 pm #54346 Rob SimmersParticipant http://stackoverflow.com/questions/24044681/powershell-open-email-draft-with-signature September 21, 2016 at 1:19 am #54354 BradParticipant Thank you both, and what about outlook template file .oft, how i can open it? Thanks. September 21, 2016 at 12:33 pm #54387 BradParticipant just one more, how i can show signature image Thanks. Author Posts You must be logged in to reply to this topic.