Hi,
I am using rich:editor in for editing mail content.And the content which I edit is stored in the form of html tags.
some example like this:-
<body><p>Hi,</p>
<p> I am using <strong>rich:editor</strong> in for editing mail content.And the content which I edit is stored in the form of html tags.</p>
<p> </p>
<p>some example like this:-</p>
<p> </p></body>
"now my task is to send a mail of this content. I am using seam frame work."
in m:body tag i added my content like this.
<m:body>
<h:outputText value=": #{mailData['content']} ,"/>
</m:body>
but the mail is sent in html format
like this :-
<body><p>Hi,</p>
<p> I am using <strong>rich:editor</strong> in for editing mail content.And the content which I edit is stored in the form of html tags.</p>
<p> </p>
<p>some example like this:-</p>
<p> </p></body>
SO plz any one help me to solve this problem.
i Just want to send the email content not the html tags
If you need to abandon all the formatting tags take a look at this thread:
http://stackoverflow.com/questions/240546/removing-html-from-a-java-string