TOC in email notification?

AI-generated summary

lalejand reports an issue with the DiscoTOC plugin, noting that while the Table of Contents is generated correctly in the published forum post, it does not appear in the automated email notifications sent to subscribers of that category. The user requests a solution to include the generated TOC within the email body.

Hi, I use DiscoTOC to generate the TOC of the newsletter I publish in our forum. Example: Bulletin d’information mensuel Scenari Octobre 2026 - Actualités - Forums Communauté Scenari

The category where I publish the newsletter in is configured so that every member of the forum will receive the post by email. But in the email the TOC is not present.

Would it be possible to insert the TOC also in the email sent? If yes, how?

Thx