Hi guys,
I'll say right away i don't like html and i know basics.
I'm Revamping my user creation scripts and it outputs the content in a html format.
The problem i have is the html in itself if i open it in IE it shows correctly but if sent in an email the table are vertical and some horizontal.
I'll attach 2 picture 1 from IE what i want and what i get from email.
Here's the code.
Powershell
$messagebody="New User automation Script | Ticket Number: | $global:ticket | User to Copy from: | $global:nameok | Logon Name of New user: | $global:NewUser | First & Last Name: | $global:fname $global:lname | Group membership added | Group membership Requested | BODY{background-color:white;}$grpaddhtml | $groupfinalhtml |
Mailbox Storage Selection: | $global:db | User Email: | $emailname@domain.com | $accimpaliastomail |