Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Are rich text emails available?
Avatar
Jean Moroney
Member
Free Members
sp_UserOfflineSmall Offline
Aug 18, 2014 - 8:26 pm

Hi,

We are testing the Subscriptions plugin, which is great, but when it sends a notification for a post that includes other quoted posts, we get a very-difficult-to-read email being sent out. See attached screenshot of the post and the email received.

Is this just the way it is, or is it because we are using a fairly customized theme that is causing the jumbled emails?

There are two possibilities I can think of to (maybe) avoid the confusion:

  1. Make the email rich text (html) and include the formatting from the original post, or
  2. Remove the quoted portions of the post completely so the message only contains the latest post itself.

Are either, or both of these possible?

We have the TinyMCE Rich Text plugin installed, if that would make any difference.

Thanks!
David

 

2014-08-18_17-15-38-1.jpegImage Enlarger

 2014-08-18_16-54-35-1.jpegImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 18, 2014 - 10:38 pm

afraid the richtext editor plugin is of no use for creating emails - is for creating posts on the site...  We used to send out richtext emails, but the vast number of different email readers out there and a lack of a commonly supported standard made it quite difficult... numerous issues where the email readers didnt support the richtext or html emails properly... so basically, we had to remove it...  to this day, I still get multliple html emails from sites/apps that are not formatted right so they dont display properly...  oh for a common standard...

that said, we are considering one day reopening that can of worms and see if email reader support for richtext or html emails has improved....  you can definitely get some good looking ones, but kind of pointless if many end up unreadable...

In the emails now, we strip out the html tags (removes tags but leaves content) of a post content...  we do have a filter that you could use to filter the raw post content however you like... the filter is:

sph_subs_post_content

the first argument is the current content (already filtered)... the second argument is the newpost array... from it you could get the post_id and grab a fresh copy of the post content and filter how you like..

additionally, you could use the 'wp_mail' filter and attempt to change message headers to allow html headers and hope for the best with your users email clients...  of course, to do this you would want to use our filter to put back the html content (pre tag stripping)...

Avatar
Jean Moroney
Member
Free Members
sp_UserOfflineSmall Offline
Aug 21, 2014 - 3:18 pm

Thanks, Mr. Papa,

I saw the sph_subs_post_content in the codex, but didn't understand it   :-)

After spending a few minutes with it I now see how it can help. 

If I have trouble grabbing and including the post content and displaying it, I'll open a new topic.

Many thanks,

David

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 21, 2014 - 8:55 pm

okay, cool... dont hesitate to holler if you have any questions...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625