• Post Reply Bookmark Topic Watch Topic
  • New Topic

email and mime type

geofrey pony
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the email data being displayed in HTML (read only field) and on clicking a button the email functionality has to be performed. For displaying in html appropriately the message has lot of 'td' and 'tr' with 'br' syntax. Currently using <bean:write name="formname" property="messageContent" filter="false" /> for displaying in html.

The email functionality is working fine. It is a simple message without any attachment. We use a wrapper on top of Spring framework which provides the email support.
However, when I receive the email in my inbox, the message contains all the html tags.

How can I get rid of the html tags when the message is received in my inbox?

Thanks in advance.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!