Support Forum
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:
- Make the email rich text (html) and include the formatting from the original post, or
- 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
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)...
Visit Cruise Talk Central and Mr Papa's World
okay, cool... dont hesitate to holler if you have any questions...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)