TOLOGIX - ISLG Maintenance

Project dealing with all ongoing maintenance of the current ISLG application (www.investorstatelawguide.com and dev.investorstatelawguide.com).

Update automated emails with HTML templates - PENDING MIGRATION

Assigned to
Anil Vaghela Anil V. Harsh Parikh, Tech Lead at DevIT Harsh P.
Due on
Notes
Please update all the automated emails generated by the user management system with the style guide outlined here: http://tologix-public-stage.s3-website.ca-central-1.amazonaws.com/islg-email-template.html. Further details and background are also available here: email html template.pdf - TOLOGIX - ISLG Maintenance

Comments & Events

Harsh Parikh, Tech Lead at DevIT
Hi Morgan Maguire, CEO Morgan   and Ryan Knuth, Customer Support Manager at Industrial Ryan ,

We have integrated all email templates withe new html design on dev.islg. Please check and confirm. 
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin and Morgan Maguire, CEO Morgan ,

The email templates are looks good for gmail account. but, For Microsoft Outlook the link button is not display properly.

Folowwing are two screenshots for your refrence.

  1. Gmail Account
  2. Microsoft Outlook account.
Kevin Andrews, Industrial
Hi Harsh Parikh, Tech Lead at DevIT Harsh ,

Outlook uses microsoft word as a rendering engine so we will have to provide a fallback for the button styling.

We will have to replace the buttons with the following markup:

<table border="0" cellspacing="0" cellpadding="0" style="margin:30px 0;">
<tr>
<td class="outlook-btn">
<a href="url" target="_blank" class="btn">Reset your password</a>
</td>
</tr>
</table>
also remove the following style definition from .btn inside the style tag in the head of the document: margin:30px 0;

Add the following snippet to the end of the head:
<!--[if gte mso 9]>
<style>
.outlook-btn{
  font-size:18px!important;
  line-height:24px!important;
  display:inline-block!important;
  font-weight:bold!important;
  padding:20px 45px!important;
  border-radius:30px!important;
  text-decoration:none!important;
  background:#1c449c!important;
  color:#ffffff!important;
}
</style>
<![endif]-->
This will style the table cell with the button styles instead of the <a> in outlook as outlook doesn't support block styles on <a> tags.

Finally simply add the following after the </body>:
<!--[if mso]>
<style type="text/css">
  body, table, td {font-family: Arial, Helvetica, sans-serif !important;}
</style>
<![endif]-->
This will ensure outlook uses the proper font

These changes should get it looking much closer to the way it should in outlook.

Please let me know how this goes.
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ,

I have updated the html as you mentioned above. but, the button problem in outlook is still exists.

I have attached my html for your reference.
Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh ,
Would you be able to let us know which version of Outlook you are looking at? It will help us track down the issue.

Thanks
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ,

We are using Microsoft Outlook  2016 version.
Morgan Maguire, CEO
Note that I'm seeing the same issue with Outlook 2013.
Morgan Maguire, CEO
 Hi Kevin Andrews, Industrial Kevin ,

Just following up to see if we've come up with a solution to the presentation of the emails in Outlook. Note that I'd like to get this task wrapped up today so that Harsh Parikh, Tech Lead at DevIT Harsh get these updated and ready for a general release of all the to-do's in this group on Monday.

Thanks,

Morgan

Stephen Ceresia, Industrial Stephen  
Stefanie Gibson, UX Researcher at Industrial
Stephen Ceresia, Industrial Stephen  
Morgan Maguire, CEO
Hi Kevin Andrews, Industrial Kevin ,

Thanks for this.

Harsh Parikh, Tech Lead at DevIT Harsh , hopefully this is enough to resolve the issue. Let us know if you need more support on this.

Morgan
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin and Morgan Maguire, CEO Morgan ,

We have replaced the Account Activation Email Template with New Email Template.

The Button issue has resolved for both outlook and gmail account. But,
For Gmail account, We are not able to see blue header with ISLG logo. Please see below screenshot.


For Outlook, The email is looking good. Please see below screenshot.



Morgan Maguire, CEO Morgan , Note that we have replaced new email template only for account activation mail.

Please suggest.
Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh ,

Could you forward the above email to kandrews@industrialagency.ca. We are not able to reproduce the issue you are seeing above using the default template we provided.
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ,

I have forwarded the mail from my gmail account (parikhharsh10@gamil.com).

Morgan Maguire, CEO Morgan , I have added you in Cc for your reference.
Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh , I have forwarded you an example of the working email along with possible instructions on how you can fix it
Morgan Maguire, CEO
Hi Kevin Andrews, Industrial Kevin and Harsh Parikh, Tech Lead at DevIT Harsh ,

I've had an opportunity to test an view the activation email, and these are the current results:

The output in Outlook looks pretty good. Please make an adjustment so that the margins of the email are wider (currently very narrow). The output in Gmail looks ok, but, as Harsh Parikh, Tech Lead at DevIT Harsh has already pointed out, it's missing the ISLG header.

Once we get this finalized, I'd like the template applied to all the automated emails across the system, which includes the following:

Thanks,

Morgan
Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin and Morgan Maguire, CEO Morgan ,

We have replaced all email templates with new email templates and its looking good in both gmail and outlook. but, Currently we haven't changed the margins area in email templates.

Kevin Andrews, Industrial Kevin , Could you please provide your inputs for change the margin area in email. Here, I have attached my currently using html file for your reference.
Morgan Maguire, CEO
Hi Harsh Parikh, Tech Lead at DevIT Harsh ,

With the exception of the narrow margin issue, all the emails are looking good to me on both Outlook and Gmail. Note, however, that the new HTML format is not present in the email for force password reset (see screenshot below), but I understand that this may be because the task is still in development.

Thanks,

Morgan

Harsh Parikh, Tech Lead at DevIT
Hi Kevin Andrews, Industrial Kevin ,

Could you please tell us that how to remove narrow margin form email template ?  Above I have attached my email template for your reference.
Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh  

This is assuming that by "narrow margin" you mean the width of the template.

If you do a search in your template for '600px' you should find a few width/max-width definitions. These can be changed to increase the overall width of the email template. All instances of '600px' should be changed to the same number without variations.

I would suggest doubling it to 1200px.
Harsh Parikh, Tech Lead at DevIT
Thanks Kevin Andrews, Industrial Kevin .

We have replaced  width/max width '600px' to '1200px' in all instances for one email template and it is looking good for gmail account. But, For outlook account, the narrow margin is still remain same.

have you any idea for Outlook account ?

I have attached my email template for your reference.

Kevin Andrews, Industrial
Harsh Parikh, Tech Lead at DevIT Harsh  

you will have to replace all cases of '600px'

For example, in the RegistrationEmail.txt there is a conditional comment on line 627, The inline style="width:600px" would also need to be updated to 1200.

I did a find and replace on RegistrationEmail.txt so all cases of 600px should now be 1200px.

Harsh Parikh, Tech Lead at DevIT
Thanks Kevin Andrews, Industrial Kevin .

Morgan Maguire, CEO Morgan , We have updated all email templates to resolved the narrow area margin issue and it looks good.

Please check and confirm.

Note: We are working on manually reset password 's Email Templates and will update you soon.
Morgan Maguire, CEO
Hi Harsh Parikh, Tech Lead at DevIT Harsh ,

The narrow margin is eliminated; however, the email no longer adapts to the size of the window (see screenshot below), forcing the user to scroll from side-to-side to read the email. Kevin Andrews, Industrial Kevin , is there a way to make this happen?

Note the same problem doesn't exist with Gmail (or other web application email providers).

Thanks,

Morgan 

 
Kevin Andrews, Industrial
Morgan Maguire, CEO Morgan Harsh Parikh, Tech Lead at DevIT Harsh  

Most versions of Outlook don't support fluid width email templates. It's generally recommended not to exceed 600px in width (the width the email template was previously) for this reason. The only solution would be to return the template to it's narrow margin in outlook while maintaining the 1200px responsive width in other email clients.
Kevin Andrews, Industrial
Morgan Maguire, CEO Morgan Harsh Parikh, Tech Lead at DevIT Harsh

We can attempt a fix by updating the outlook conditional comments to use fluid width but this is almost guaranteed to cause an issue in different versions of outlook.

This chart displays the versions that support the required style to make this happen: https://www.campaignmonitor.com/css/box-model/max-width/

Harsh Parikh, Tech Lead at DevIT Harsh I have highlighted a block of conditional comment code in the attached screenshot. These changes will have to be made to all the conditional comments in the template.
With this change implemented, email clients that do not support max-width will not cap at 1200px and will instead always flow to 100% width.
Morgan Maguire, CEO
Thank you, Kevin Andrews, Industrial Kevin .
Harsh Parikh, Tech Lead at DevIT
Thanks Kevin Andrews, Industrial Kevin .

Morgan Maguire, CEO Morgan , We have updated all email teamplates as Kevin Andrews, Industrial Kevin suggested and it is looking good for both gmail and outlook account.
Morgan Maguire, CEO
All the emails are looking great! Marking this to-do as pending migration.

Morgan
Morgan Maguire, CEO
Morgan Maguire completed this to-do.