HTML Email Notification

Post Reply
SamOrlando
Posts: 23
Joined: Wed May 01, 2019 2:55 pm
4

HTML Email Notification

Post by SamOrlando »

Beyond the powershell issues setting up for another client, the Expiry plugin is working for our local network which is my test bed.

However, the threshold has been reached for a couple of users and instead of the beautiful HTML notice I created, their email notification only said, "The command line is too long."

Does the Email Body field have a limited size?

Code: Select all

<html>
<head>
	<title></title>
</head>
<body><meta charset="utf-8">
<table align="center" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border: 01px solid #222222" width="600">
	<tbody>
		<tr>
			<td style="padding-right: 0px; padding-left: 0px; padding-top: 0; padding-bottom: 0; text-align: center" valign="top"><img alt="Umbrella Email Header" src="https://ci5.googleusercontent.com/proxy/jPDAVanaR_4qwa2YgUckzeMQSu6Faz5vrt717ZKjiLvMyX

cssswhc5m1z8TgW2XvV6PzIQpYBeDR36O899KCG2HivAL8Nxc04k5K0chqPJ-uxeK_q3it4xw6L-cyQZ-

94z_UwzCmTou0ZoWhd6lEGUAbtUKk0BALFfrug4Y=s0-d-e1-

ft#https://gallery.mailchimp.com/dd029212ff16a33a47210291a/images/82185551-5ed4-4d9c-88e8-

d6c111261487.jpg" style="max-width: 599px; padding-bottom: 0; display: inline !important; border: 0; height: auto; outline: none; text-decoration: none" /></td>
		</tr>
		<tr>
			<td style="padding-top: 0; padding-right: 18px; padding-bottom: 9px; padding-left: 18px; color: #6d6e71; font-family: Helvetica; font-size: 14px; line-height: 150%; text-align: left" valign="top" width="599">&nbsp;
			<h2>Your Password Will Expire Soon!</h2>

			<p>Hi,&nbsp;@MYNAME@</p>

			<p>This is a notification to let you know than in @DAYSLEFT@ your password will expire and a new one will need to be created.</p>

			<p>If you would like to change it before then and avoid being locked out of your workstation; after logging in, you can press CTRL-ALT-DEL and select Change Password.</p>

			<p>For best practice, create your new password using at least 8 characters and 3 of the following criteria:</p>

                                        <p>1.  Upper Case Letters<br>
                                                2.  Lower Case Letters<br>
                                                3.  Numbers<br>
                                                4.  Symbols</p>

			<p>Thank you!<br />
			Umbrella Managed Systems</p>

			<p>NOTE: &nbsp;This email is from a NoReply address. &nbsp;Any replies to his email will not be received. &nbsp;If you have any questions or concerns,&nbsp;please email help@umbrella-ms.com.</p>
			</td>
		</tr>
		<tr>
			<td bgcolor="#ffffff" valign="top">
			<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border: px solid #222222; max-width: 600px !important" width="599">
				<tbody>
					<tr>
						<td style="padding-right: 0px; padding-left: 0px; padding-top: 0; padding-bottom: 9px" valign="top" width="599">
						<table border="0px" style="font-size: 8px; color: #6d6e71; margin: 20px 0px 0px 0px" width="100%">
							<tbody>
								<tr>
									<td align="center" style="vertical-align: text-top" width="200"><strong>Umbrella Managed Systems</strong><br />
									505 Walnut St<br />
									Kansas City, MO 64106</td>
									<td align="center" style="vertical-align: text-top" width="200">Phone: 816-437-7265<br />
									Fax: 816-437-7266</td>
									<td align="center" style="vertical-align: text-top" width="200"><a href="https://www.umbrella-ms.com/about-us/contact-us/" style="color: #a81010; text-decoration: underline"><strong>Contact Umbrella</strong> </a><br />
									<a href="https://www.umbrella-ms.com/blog/" style="color: #a81010; text-decoration: underline"><strong>Check out the UMS Blog!</strong> </a></td>
								</tr>
							</tbody>
						</table>
						</td>
					</tr>
				</tbody>
			</table>
			</td>
		</tr>
	</tbody>
</table>
</body>
</html>

User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: HTML Email Notification

Post by Cubert »

Yes,

LabTech has limits as to total size of a string so you can over load the string size. Remove white spaces from HTML and that will most likely resolve your issues.

SamOrlando
Posts: 23
Joined: Wed May 01, 2019 2:55 pm
4

Re: HTML Email Notification

Post by SamOrlando »

Gotcha; I will try that next.

I did remove the text explaining best practices and it still was too long.

SamOrlando
Posts: 23
Joined: Wed May 01, 2019 2:55 pm
4

Re: HTML Email Notification

Post by SamOrlando »

Removing white space did it.

User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: HTML Email Notification

Post by Cubert »

:D Sweet!

Post Reply

Return to “Expiry Domain Password Expiration Plugin”