Project

General

Profile

Actions

Feature #11079

closed

Improved formatting in groupblog emails

Added by Tom Harbison almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Email Notifications
Target version:
Start date:
2019-02-11
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Is it possible for the formatting of emails to groups when new posts are made to more closely match the formatting in the posts? In particular, I have been asked by a couple of users at BMCC if links from the body of a blog post could be preserved in the email. I've also been asked why paragraph formatting is altered in the emails and whether this can be improved. I know this may not be possible, but wanted to provide the users with an explanation of how that process works and what the limitations are.


Files

email notification.png (200 KB) email notification.png Tom Harbison, 2019-02-11 02:24 PM
blog post.png (238 KB) blog post.png Tom Harbison, 2019-02-11 02:24 PM

Related issues

Related to CUNY Academic Commons - Bug #11398: Blog post notification emails are not formattedResolvedRaymond Hoh2019-04-24

Actions
Actions #1

Updated by Boone Gorges almost 6 years ago

Hi Tom - Could you please share screenshots of emails that demonstrate the issue, so that we can have a closer look?

Actions #2

Updated by Tom Harbison almost 6 years ago

Thanks, Boone. I'm attaching:
1) screen shot of a blog post with a link in it (from https://cetls.bmcc.cuny.edu/blog/2019/02/08/bmcc-celebration-of-scholarship-and-creative-work/)
2) screen shot of the email notification in which the text ("online form") is not linked.

I don't have any good examples on hand of paragraph formatting getting thrown off, but will be on the lookout for it. For now, if you could have a look at the link question, that would be great.

Actions #3

Updated by Boone Gorges almost 6 years ago

Thanks, Tom. What email client are you using? It looks like maybe a web client, but which? Have you toggled some setting (either on the Commons or in your client) that forces emails to be read as plaintext rather than using HTML?

Ray, could this be due to some issue with email templates and non-root-blogs?

Actions #4

Updated by Raymond Hoh almost 6 years ago

  • Assignee set to Raymond Hoh
  • Target version set to 1.14.6

I just tested locally and the HTML email template is retained when posting from a groupblog's admin dashboard.

Tom might have set his email to plain-text in his email client or through the "My Settings > Notifications" page under "Email Type".

I can confirm that links on anchor text from groupblog content are stripped in the email body. I'll see if this only occurs in groupblog content or if group forum content is also affected.

Actions #5

Updated by Raymond Hoh almost 6 years ago

  • Subject changed from Improved formatting in emails to groups when new posts to Improved formatting in groupblog emails
  • Status changed from New to Assigned

Update: HTML is stripped only for groupblog emails. Group forum emails are unaffected.

Will look to support basic HTML tags for groupblog emails.

Actions #6

Updated by Raymond Hoh almost 6 years ago

  • Status changed from Assigned to Staged for Production Release

Thanks for the report, Tom.

I've addressed the issue and the fix will be deployed tomorrow afternoon. (Reference - https://github.com/cuny-academic-commons/cac/commit/91c0cf3441f1349a2244bc227b4c3e498119dac5)

Boone, I'll add a PR for the BP Group Email Subscription repo.

Actions #7

Updated by Tom Harbison almost 6 years ago

Thanks!

I have a loosely related question (please let me know if you prefer this be on a separate ticket): Is there any way to suppress email notification to a group for selected blog posts? We have some sites where admins craft their sites with blog posts as building blocks, sometimes putting up a string of them in quick succession, and prefer that these don't send out notifications since they aren't meant to be read as individual items. Is there a workaround to achieve that? Or maybe this could be a feature request ...

Actions #8

Updated by Boone Gorges almost 6 years ago

Hi Tom - That's a good idea for a separate feature request, and aligns with the "silent" feature we use elsewhere on the site. See #4676, #3599, #4636, etc. Please feel free to open a ticket.

Ray, thanks for the quick fix.

Actions #9

Updated by Boone Gorges almost 6 years ago

  • Status changed from Staged for Production Release to Resolved
Actions #10

Updated by Boone Gorges over 5 years ago

  • Related to Bug #11398: Blog post notification emails are not formatted added
Actions

Also available in: Atom PDF