Skip to content

jlmoya/Liferay-JSF-Mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Liferay-JSF-Mailer


Liferay-JSF-Mailer is an example on how to send mail using a Java Server Faces Portlet with Liferay 7.1.3 GA4. It uses Maven to compile the war file.

Usage

With maven, build with "clean verify install" goals, then deploy to Liferay.

Installation

Liferay Mail Configuration (Configuration is for a GMail account) adjust as required.

Go to Admin->Control Panel->Server Administration->Mail

Fill in the form as follows: Incoming POP Server: pop.gmail.com

Incoming port: 995

Check "Use a secure network configuration"

Fill in your user name and password.

Outgoing SMTP Server: smtp.gmail.com

Outgoing port: 465

Check "Use a secure network configuration"

Again, fill in your user name and password.

Press "Save" button.

Eclipse Configuration

Use "Add and Remove" to add to Liferay Server if running in Eclipse the Liferay-JSF-Mailer project. Otherwise deploy as usual by making the war as explained above and copy to the deploy folder.

Meta

About

Tutorial Eclipse project on how to send mail with JSF portlet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published