Support Forum

Subscriptions plugin e-mails formatting

PD Patrick DUMOLEYN
Patrick DUMOLEYN
Member

Hello.

I use Simple:Press version 5.6.6 with Subscriptions plugin version 1.4.18.

When a post is created, the users that have subscribed on the forum receive an e-mail w/o any formatting.

Have a look to the images joined : the post and the e-mail received.

Any idea ?

Thanks.

7 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Well – my first thought and instinct is that forum posts – like WP blog posts – are stored in the database as html formatted. So is this not just that the email client, in this case, is disallowing and stripping out the html tags?

PD Patrick DUMOLEYN
Patrick DUMOLEYN
Member

The problem was due to the plugin I used to send e-mails. I now use another one and the problem is solved.

But it remains a little other problem : empty lines are added in the e-mail sent when the post is updated.

Please, have a look on attached document.

Thanks.

YS Yellow Swordfish
Yellow Swordfish
Member

Can you explain further what you mean by ‘updated’? If you mean ‘edited’ then subscriptions does not send an email for an edited post (I am pretty sure). But I do not believe that the post you have shown in the pdf has been edited anyway. So not sure what you mean by updated…?

PD Patrick DUMOLEYN
Patrick DUMOLEYN
Member

I mean creating a new post or adding a reply to an existing one.

YS Yellow Swordfish
Yellow Swordfish
Member

OK – understood. I have to really go back to my point above (#4). The content of a post is sent to the subscription email formatted identically to the way it appears in the forum display. So each paragraph is surrounded by html paragraph tags as you would expect. There is no other formatting or processing of the text.

What it looks like is happening from the image, is that extra paragraph tags – or probably an extra ‘br’ line break tag, is being added at the end of each paragraph. That could happen if the text is parsed by code that is unaware that the text it is parsing is already formatted and ready to go.

This is not common behaviour of either the WP Mail handling or the Simple:Press mail output so there has to be a third party influence. Whatever it is, it would be useful if you could turn off the extra formatting/filtering stage. I would suggest that the first thing to do is try the subscription email with no other email plugins active to see what happens then.