Restrict width of message (max-width)?
-
Hi, jsut wondering if there is a way to restrict the maximum width of the message to, say, 650px? Most of the emails sent from my site look great, but Wordfence alerts, and a few others, end up showing as wider than the viewport of the email client so you have to scroll to read the message. Thanks for any help you can offer.
-
Hello @altimac,
we looked into the problem with wordfence e-mails before, but could not resolve the issue. Can you please list all plugins (that send e-mails) or e-mails, that have this issue?
Thank you and best regards
JulianThanks, Julian. I can’t now recall the other plugin that was doing this but it’s no longer on our site. Wordfence is also inconsistent in terms of which emails have inconsistent formatting so I can understand why it’s hard to pin down. The other thing that is still driving me crazy is the “96” that appears at the top left of some emails. Here it is on a Monster Insights alert: https://media.altimac.com/96-monster-insights.png
I just realized the issue with Wordfence, at the very end of the message there is a “no longer want to receive” these alerts link that looks like this:
No longer an administrator for this site? Click here to stop receiving security alerts: https://collegescoops.com/?_wfsf=removeAlertEmail&jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImdpbEBhbHRpbWFjLmNvbSIsIl9leHAiOjE2NzcNjY5MDJ9.uAKmKlwPacY79ZPJQkC1ROUis_OrosB1Gvs9wtP_idc
That’s why not all of the alerts are skewed as far as the formatting. It even affected the formatting for this block In which I’m replying.
Hi, Julian. We are not using WP-Forms, but we are using Gravity Forms, FluentCRM, MemberPress, and WPFusion, if any of those could be the culprits. I would humbly suggest that it has something to do with line #14 in template.html: <o:PixelsPerInch>96</o:PixelsPerInch>
Hello @altimac,
the previous customer who posted in the support forum has written about the same problem using FluentCRM. So assume it’s the same issue.
We do not have access to FluentCRM. We will contact the developers of FluentCRM for a developer copy. That is all we can do right now.
I hope to receive a response soon.Best regards
JulianOK, sounds good. But still, the only line of code in your plugin with a 96 in it is <o:PixelsPerInch>96</o:PixelsPerInch> from line 14 of template.html, and looking at the raw HTML of any emails that show it, it appears to be coming from there. I think if you just removed that, the issue would be resolved.
unfortunately we can not do that. This code is a specific instruction for the rendering of e-mails in Outlook on Microsoft Systems. Usually it’s not a problem, as it’s a comment only, but FluentCRM seems to change the behavior of this comment.
Best regards
JulianHello @altimac,
sorry for the late reply, it took some time to get around to fixing this issue. Can you please try out our latest beta version, this issue with Fluent CRM should be resolved. Here is the download for the 3.3.8 Beta.
Let us know please, if the issue is resolved.
Best ergards
JulianThanks, Julian. No worries, I’ve just installed it and will report back shortly.
I will also have another look at the wordfence issue. At least I could add the possibility to deactivate our plugin template for wordfence mails.
Actually, Julian, there seems to be a good reason why this happens on some Wordfence emails. My bad, I should have updated you on this when I got the response from Wordfence: https://ww.wp.xz.cn/support/topic/minor-cosmetic-issue-in-admin-email-alerts/
Thanks for the quick response. So it seems there is a good reason for this.
HI, Julian. Unfortunately it did not, the 96 is still there on a Monster Insights admin email from yesterday. See https://collegescoops.com/96.png. I was waiting for my client to send out a batch to check them, but I guess it’s still an issue. If it helps you, I have a staging site for College Scoops that you are welcome to access in order to suss this out, since that would give you a “real-world” way to test.
The topic ‘Restrict width of message (max-width)?’ is closed to new replies.