PowerShell
PowerShell
Create Email with Embedded Link
Creating an email with an embedded link (HTML hyperlink).Chilkat PowerShell Downloads
Add-Type -Path "C:\chilkat\ChilkatDotNet47-x64\ChilkatDotNet47.dll"
$email = New-Object Chilkat.Email
# To create an email with an embedded link, use HTML:
$html = "<html><body><p>Click here for more information: <a href=`"http://www.chilkatsoft.com/`">Chilkat Software</a></body></html>"
$email.SetHtmlBody($html)
# Continue building the email by adding the subject, recipients, etc...
$mime = $email.GetMime()
$($mime)