Posts

Showing posts from March 20, 2019

Sizing logo for Outlook desktop

Image
0 I am building emails using a Drag & Drop editor in a CRM (Dynamics 365 w/ ClickDimensions). For the logo, I am using HTML to insert an image. The logo shows up fine for every email client except Outlook desktop. Here it shows up full-sized and ignores the inline styling. If I add "width= ... " inline with the img, it shows up smaller, but it's oriented in the top left of the email instead of where it's supposed to be. I found the following conditional and tried to make it work, but it's not doing anything. <div style="box-sizing: border-box; white-space: normal;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.42857143; word-wrap: break-word !important; white-space: normal; padding-top: 20px; padding-bottom: 20px; padding-left: 20px; padding-right: 20px;"> <!--[if (gte mso 9)|(IE)]> <style> #logo max-width: 130px !important; padding-left: 40px !important; </style> <![endif]--> ...

[System.Web.Security.Membership]::GeneratePassword() - Type Not found

Image
1 Why do I get Type Not Found when trying to use this class/method in PowerShell? [System.Web.Security.Membership]::GeneratePassword() Do I need to install a module or something to make use of it? powershell class passwords share | improve this question asked Nov 14 '18 at 19:54 Rakha Rakha 598 3 17 Haha i should've known. Forgot about having to add it first. Long day! Thanks. – Rakha Nov 14 '18 at 19:56 What version of .NET and PowerShell are using? I see this on 5.1 in both Win7 and Win10. Additionally, GeneratePassword requires two arguments. – TheIncorrigible1 Nov 14 '18 at 19:56 5.1.17134.228 , .net 4.7.03056 i think – Rakha Nov 14 '18 at 19:57 Did you remove the Add-type comment answer? Please put it back since it can be useful. – Rakha Nov 14 '18 at 19:58 It did not apply to this question and was misleading since that typ...