Jump to content

How to remove HTML tags from plain text email?


InvisionHQ

Recommended Posts

28 minutes ago, InvisionHQ said:

I try to use strip_tags but I got a

How are you do it?

I think something like

{{strip_tags($content->content())}}

Use 

{{$txt = strip_tags($content->content());}}
{$txt}

or

{expression="strip_tags($content->content())"}

or

{expression="\IPS\Email::buildPlaintextBody($content->content())"}

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...