I need a php script that will convert html emails into formatted text emails automatically.
I have uploaded a sample of the desired UI, html email and text output. In my emails I will always have a list of products I am promoting along with URLs.
1. In the UI, I want to be able to define a template for the "layout" of the text email. To maximize flexibility I want to ideally just use the html tags that surround the content I want to display in the html email. If it is easier I am also open to using commenting tags to help with this.
2. For convenience, I should be able to save the template to a text file on my server through the UI. .
3. Once I paste my html into the UI, I should be able to click submit and be presented with the formatted text email as output which I can copy and paste into another program.
Preference will be given to anyone showing a working example.