Extract the text-only version of an HTML email... programatically

Edit: I use Mailgun for this


For my app, I’m allowing users to paste custom HTML into the emails they send.

For deliverability reasons, I need to also have a “text-only” version of the email generated programatically…

Anyone know of a good :extract with Regex method for this? Or any other method?

Thanks!!

This topic was automatically closed after 70 days. New replies are no longer allowed.