Showing posts with label Mail. Show all posts
Showing posts with label Mail. Show all posts

Tuesday, September 22, 2015

Sending Mail in Liferay Using Templates(tmpl) Files


In the Previous blog we see how to we Configure mail in Liferay  and how to send a mail programmatically. When we send a mail we have to provide content in setBody() method either in plain text or in the HTML format. But what happen if we want to send a mail with dynamic content in body part and in proper HTML format.In this case we create templates with HTML tags and just call the tmpl files and replace the variables declared inside tmpl files with actual data.

So lets start this step by step:-

Continue Reading...

Saturday, September 12, 2015

Send Mail in Liferay Programmatically


In the Previous blog we see how to we Configure mail in Liferay.In this blog we will see how to send mail programmatically . Sending mail in Liferay is very simple we just need to use MailServiceUtil class that is provided by Liferay .Here we Consider 3 Scenario:-

So lets start :-

Continue Reading...

Friday, September 11, 2015

Modify Email Notification Send by Liferay


In the Previous blog we see how to we Configure mail in Liferay.In this blog we will see how to modify/edit email notification send by Liferay. Liferay uses some tempelates to structure or design the mails body we just need to Change it.

So lets start this step by step:-

Continue Reading...

Mail Configuration in Liferay using Gmail


Today we will discuss how to Configure Mail in Liferay so that when someone Create Account or forget Password a email notification is sent to his mail id. For Configuration mail in our Liferay we use Gmail .

So lets start this step by step:-

Continue Reading...

Total Pageviews

Number Of Unique Visitor

Free counters!