Welcome › Forums › General PowerShell Q&A › Outlook signature
This topic contains 4 replies, has 3 voices, and was last updated by
Need help to add signature to email
$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, "
$inspector = $mail.GetInspector
Struggled with that one, this worked for me.
Although is doesnt look very nice...
$mail.body= $text +$mail.body + $temp
Thank you both,
and what about outlook template file .oft, how i can open it?
just one more, how i can show signature image
The topic ‘Outlook signature’ is closed to new replies.