Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Umer Sayeed
Editor
July 19, 2013 2:36 AM
Answer

Umer Sayeed

Rank: Junior Member

Posts: 51

Join Date: August 8, 2012

Recent Posts

Hi Friends,
I am using FCKeditor in my mail portlet when i send the mail to end users then they are reciving the source code like below given "

<p>
<strong>Hi Friends</strong>,</p>
<p>
<em>How are you doing.</em></p>
<p>
&nbsp;</p>



Thanks and Regards,
Ummer
Sampsa Sohlman
RE: Editor
July 19, 2013 2:47 AM
Answer

Sampsa Sohlman

LIFERAY STAFF

Rank: Regular Member

Posts: 225

Join Date: September 27, 2007

Recent Posts

Umer Sayeed:
I am using FCKeditor in my mail portlet when i send the mail to end users then they are reciving the source code like below given "

<p>
<strong>Hi Friends</strong>,</p>
<p>
<em>How are you doing.</em></p>
<p>
&nbsp;</p>



Let me ask clarification to question. When you send mail the receiver is seeing HTML instead of formatted text?

- Sampsa
Umer Sayeed
RE: Editor
July 19, 2013 2:50 AM
Answer

Umer Sayeed

Rank: Junior Member

Posts: 51

Join Date: August 8, 2012

Recent Posts

Sampsa Sohlman:
Umer Sayeed:
I am using FCKeditor in my mail portlet when i send the mail to end users then they are reciving the source code like below given "

<p>
<strong>Hi Friends</strong>,</p>
<p>
<em>How are you doing.</em></p>
<p>
&nbsp;</p>



Let me ask clarification to question. When you send mail the receiver is seeing HTML instead of formatted text?

- Sampsa




Yes,receiver is seeing HTML instead of formatted text!
Sampsa Sohlman
RE: Editor
July 19, 2013 3:20 AM
Answer

Sampsa Sohlman

LIFERAY STAFF

Rank: Regular Member

Posts: 225

Join Date: September 27, 2007

Recent Posts

So this is not a issue of FCKeditor, but the how do you use Liferay API.

Take a look MailEngine API documention, it does not describe much (all), but you can see which method to use and those method names are pretty self describing.

EDIT: Tip: you can see some method send method paremter "htmlFormat" which defines if the body content should be html.

Link to 6.1 Javadocs http://docs.liferay.com/portal/6.1/javadocs

- Sampsa