Support Forum

Subscriber Digest report

KS Karen Smith
Karen Smith
Member

Am I able to style the email notification that is sent out when somebody posts a new topic in the forum section?

4 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Can you describe or explain what you mean by ‘style’?

It suggests you are thinking of HTML emails and while it may be possible the truth is that WordPress is not actually very good at handling them although things may have improved since we last looked into it.

KS Karen Smith
Karen Smith
Member

Yes I would like to brand it with our colours and change some of the wording if possible?

YS Yellow Swordfish
Yellow Swordfish
Member

Well I will need to check through the code but normally we would make email text available via a wordpress style filter so that it can be altered should the user wish it. I am more concerned about Wp and HTML emails as I said before. Are you using a plugin of some kind that enables the generation of HTML emails?

MP Mr Papa
Mr Papa
Member

as mentioned, we use the wp send mail utility and they are not html..

still, you can change some of the elements to suit your needs with filters… 

the filters of interest on a per entry basis:

sph_subscriptions_digest_entry_forum – the listed forum

sph_subscriptions_digest_entry_topic – the listed topic

sph_subscriptions_digest_entry_url – the url to the entry

sph_subscriptions_digest_entry_divider – the divider between entries

sph_subscriptions_digest_entry_content – the single

sph_subscriptions_digest_entry – the entire entry

the filters of interest for the actual email sent to wp for sending:

sph_subscriptions_digest_email_to – list of addresses

sph_subscriptions_digest_email – the entire content of the message (all the entries)

sph_subscriptions_digest_email_replyto – list or replyto recipients

sph_subscriptions_digest_email_subject – subject of the email