This website uses cookies to ensure you get the best experience on our website.

Skip to content
LOGO
  • Company

    About IGNEK

    Learn about our story and our mission.

    Careers

    We're hiring!

    We always looking for talented peoples. Join our team!

    Blogs

    The latest industry news, updates and info.

    Case Studies

    Take a closer look at the projects we've delivered

    Webinar

    Watch our latest organized webinar

    Get in touch with our HR team

    • hr@ignek.com
    • +91 93284 95160
    • Ahmedabad, Gujarat, India – 382470
  • Services

    Enterprise Portal Development

    Custom Enterprise Portal Development for flawless Solutions

    Dedicated Development Team

    Expand Teams, Optimize Development with Our Expertise

    Back-end Development

    Empowering your digital presence with robust backend development expertise

    Front-end Development

    Crafting engaging user experiences through expert frontend development

    Digital Transformation

    Embrace digital transformation by modernizing process

    SaaS Development

    Transform your business with SaaS Innovative Solutions

    Technologies

    Liferay Services

    Development & Customization

    Theme

    Upgradation

    Migration

    Proof of Concept

    Performance Tunning

    Architecture

    Support & Maintenance

    E-commerce

    Expert Advice

    React Services

    Enterprise Development

    Custom Application

    Single Page Application

    Architecture

    API Integration

    Migration

    Consulting

    Maintenance & Support

    Spring Boot Services

    Web Service

    MVC Web Development

    API Integration

    Security

    Migration

    Microservices

    Support & Maintenance

    AEM Services

    Consulting Service

    Site Development

    Migration & Upgradation

    Integration

    Maintenance & Support

    Custom Solutions

    Content Management

    Team Augementation

  • Solution

    Ready for digital excellence

    In our rapidly evolving world, businesses are always on the lookout for fresh ways to improve their operations and connect with their audiences.

    Contact US

    Solutions

    SaaS : Software As A Service

    Transforming industries through cutting edge SaaS solutions.

    Customer Portal : Boost Business Productivity

    Streamline operations and enhance productivity with our Customer Portal solution.

    Liferay Based Intranet Portal

    Internal portal for company communication, collaboration and resources

    Integration

    Matomo Integration with Liferay

    Integrate Matomo to enable user interactions seamlessly.

    Microsoft Teams integration with Liferay

    Integrate to enable seamless collaboration, messaging within your portal.

    Jira Integration With Liferay

    Optimizes business operations by integrating with Jira.

  • Hire Us

    Liferay

    Get expert Liferay developers for seamless portal solutions.

    React JS

    Get expert ReactJS developers for dynamic web solutions.

    Web Developer

    Get custom web solutions from IGNEK's expert developers.

    Spring Boot

    Get top-notch Spring Boot developers for your project success!

    Healthcare

    Get top Healthcare Developers for cutting-edge medical software.

    MERN Stack

    Get expert MERN developers from IGNEK for custom, innovative project solutions.

    Why Hire Developers From IGNEK ?

    • Certified Developer
    • Transparent Communication
    • Flexible Hiring Modals
    • Fully Signed NDA
    • Cost Effective
    • Easy Exit Policy

    Get in touch with our Sales team

    • sales@ignek.com
    • +91 6351576580
    • info@ignek.com
    • Ahmedabad, Gujarat, India – 382470
SCHEDULE CALL
  • COMPANY
    • About
    • Case Studies
    • Blogs
    • Career
    • Webinar
  • SERVICES
    • Enterprise Portal Development
    • Dedicated Development Team
    • Back-end Development
    • Front-end Development
    • Digital Transformation
    • SaaS Development
  • SOLUTION
    • Customer Portal:  Boost Business Productivity
    • SaaS : Software as a Service
    • Liferay Based Employee Intranet Portal
  • TECHNOLOGY
    • Liferay Services
      • Liferay Development and Customization
      • Liferay Theme Development Service
      • Liferay DXP 7.4 Upgrade
      • Liferay Migration
      • Liferay Proof Of Concept
      • Liferay Performance Tuning
      • Liferay Architecture Design Service
      • Liferay Support And Maintenance Service
      • Liferay Ecommerce Development
      • Liferay Expert Advice
    • ReactJS Services
      • ReactJS Enterprise Application Development
      • ReactJS Custom Application Development
      • ReactJS Single Page Application Development (SPA)
      • ReactJS Applications Architecture
      • ReactJS API Integration
      • ReactJS Migration
      • ReactJS Consulting
      • ReactJS Maintenance and Support
    • Spring Boot Services
      • Spring Boot Web Development Service
      • Spring MVC Web Development
      • Spring Boot API Integration Service
      • Spring Boot Security
      • Spring Boot Migration Service
      • Spring Boot Microservices
      • Spring Boot Support & Maintenance Service
    • AEM Development Services
      • AEM Consulting Services
      • AEM Site Development
      • AEM Migration & Upgradation
      • AEM Integration Services
      • AEM Maintenance & Support
      • AEM Content Management
      • Custom AEM Solutions
      • AEM Team Augmentation
  • INTEGRATION
  • HIRE US
    • Hire Liferay Developer
    • Hire ReactJS Developer
    • Hire Spring Boot Developer
    • Hire Healthcare Developer
    • Hire Web Developer
    • Hire MERN Stack Developer
  • CONTACT US
  • Company

    About IGNEK

    Careers

    We're hiring!

    Blogs

    Case Studies

    Webinar

    Get in touch with our HR team

    • hr@ignek.com
    • +91 93284 95160
    • Ahmedabad, Gujarat, India – 382470
  • Services

    Enterprise Portal Development

    Dedicated Development Team

    Back-end Development

    Front-end Development

    Digital Transformation

    SaaS Development

    Technologies

    Liferay Liferay Services
    • Development & Customization
    • Theme
    • Upgradation
    • Migration
    • Proof of Concept
    • Performance Tuning
    • Architecture
    • Support & Maintenance
    • E-commerce
    • Expert Advice
    React React Services
    • Enterprise Development
    • Custom Application
    • Single Page Application
    • Architecture
    • API Integration
    • Migration
    • Consulting
    • Maintenance & Support
    Spring Boot Spring Boot Services
    • Web Service
    • MVC Web Development
    • API Integration
    • Security
    • Migration
    • Microservices
    • Support & Maintenance
    AEM AEM Services
    • Consulting Service
    • Site Development
    • Migration & Upgradation
    • Integration
    • Maintenance & Support
    • Custom Solutions
    • Content Management
    • Team Augmentation
  • Solution

    Ready for digital excellence

    In our rapidly evolving world, businesses are always on the lookout for fresh ways to improve their operations and connect with their audiences.

    Contact US

    Solutions

    SaaS : Software As A Service

    Customer Portal : Boost Business Productivity

    Liferay Based Intranet Portal

    Integration

    Matomo Integration with Liferay

    Microsoft Teams integration with Liferay

    Jira Integration With Liferay

  • Hire Us

    Liferay

    React JS

    Web Developer

    Spring Boot

    Healthcare

    MERN Stack

    Why Hire Developers From IGNEK ?

    • Certified Developer
    • Transparent Communication
    • Flexible Hiring Modals
    • Fully Signed NDA
    • Cost Effective
    • Easy Exit Policy

    Get in touch with our Sales team

    • sales@ignek.com
    • +91 6351576580
    • IGNEK
    • Ahmedabad, Gujarat, India – 382470
  • SCHEDULE CALL

Mail Configuration in Liferay with Gmail’s increased security

  • Liferay
  • August 1, 2023

Share On :

Problem : 

Enhancing Liferay Mail Configuration with Gmail App Password for Increased Security

Solution :

Google deprecated basic authentication for their email services.They are suggesting its customer move to OAuth 2.0 token-based authorization. We can use this  OAuth 2.0 token-based authorization as password for gmail account. We can modify the Liferay server administration mail properties using Liferay OOTB. 

Environment Requirements :
  • Liferay 
  • Liferay dxp 7.x

Here this blog explains how to configure the mail server in liferay 7.x for sending and receiving  emails using a Gmail account app password.

  1. Generate the gmail account app password
  2. Configuring Mail in Liferay
1) Generate the gmail account app password

Nowadays, Google deprecated basic authentication for sending and receiving their email services. So We have to generate App passwords for security purposes.

Follow the below steps to create app password for mail server configuration:

  1. Log in to your gmail account :-Open your web browser and navigate to Gmail (https://mail.google.com/)
  2. Click on your profile picture in the top right corner of your Gmail interface. Click on manage your google account. This will redirect you to your google account settings.
Access Gmail via web browser profile
  1. In the Google Account Settings, click on the security tab on the left side of the panel.
Security tab in Google Account
  1. Scroll down to the “How to sign in your google account” section. You will see the 2-step verification option.

Note: For creating App password,  you must enable 2-step verification for your gmail account otherwise you will not be able to create app password.

Navigate to Google account 2FA
  1. Click On 2-step verification option. Scroll down to the 2-step verification section, at the bottom you will see the “App passwords” section.
Activate 2-step verification for security
  1. Click on App passwords. Open one new window seen as per below image.
Access App Passwords in new window
  1. For generating app password, select the app and devices for which you want to generate the app password.
  2. Here we select the app as Mail and the device as Windows Computer.
Generate Mail app password for Windows
  1. Then click on GENERATE. Your app password is generated
Generate app password with a click
  1. Now replace your gmail account password with the 16-character password shown above image.
2) Configuring Mail in Liferay

Follow the below steps to configure mail session from control panel:

  1. Sign in as the Administrator user.
  2. Go to the Global menu(◧) → Control Panel → System → Server Administration → Mail
  3.  Fill out the below configuration form.
Administrator signs in and configures server mail
  1. In the above form, you are asked for following information:
    1. Incoming POP Server:- Refers to the server that handles incoming messages using the POP protocol.
    2. Incoming Port:- The port on which the POP server is listening.The default port for POP3 is 110, but some servers may use different ports for security reasons.
    3. Use a secure network connection:- The checkbox to enable whether to use an encrypted connection when connecting to the POP server.
    4. Username:- The user id used to log into the pop server.
    5. Password:- The password used to log into the pop server.
    6. Outgoing SMTP server:- Refers to the server that handles outgoing messages using the SMTP protocol.
    7. Outgoing Port:- The port on which the SMTP server is listening.The default port for SMTP is 25, but some servers may use different ports such as 587 or 465 , for secure connection.
    8. Use a secure network connection:- The checkbox to enable whether to use an encrypted connection when connecting to the SMTP server.
    9. Username:- The user id used to log into the SMTP server.
    10. Password:- The password used to log into the SMTP server.
    11. Manually specify additional JavaMail properties to override the above configuration: If there are additional properties you need to specify, supply them here.

 

Incoming POP Serverpop.gmail.com
Incoming Port995
Use a secure network connectiontrue
UsernameEnter your gmail account
PasswordEnter your gmail app password
Outgoing SMTP serversmtp.gmail.com
Outgoing Port465
Use a secure network connectiontrue
Enable StartTLStrue
UsernameEnter your gmail account
PasswordEnter your gmail app password
Manually specify additional JavaMail properties to override the above configurationIf required
Configure email settings for servers
  1. Save the configuration. Now you should be able to send and receive emails from your portal.

Note: Make sure that you enable the Less Secure App  Access in your gmail account.

Enable Less Secure App Access in Gmail

Explore Our Services

Discover how we can help your business thrive, whether you’re running a small startup, an SME, or a large enterprise. We’re here to understand your unique needs and goals, offering the expertise and resources to support your journey to success.

Stay informed about our Liferay services and updates by subscribing to our newsletter—just fill in the details below to subscribe.

Loading
Loading...

Related Blogs

July 27, 2022
Liferay Integration with Google Drive
Liferay Integration with Google Drive
July 11, 2023
Microsoft Teams integration with Liferay Cover Image
Microsoft Teams integration with Liferay
July 10, 2023
Google Meet integration with Liferay Cover Image
Google Meet integration with Liferay
Loading...

Featured Projects Portfolios

January 4, 2024
Eye Health Training & Mentorship Platform_ AI, and Webinars
Eye Health Training & Mentorship Platform : AI and Webinars
October 3, 2023
Simplify Approvals and Goals With Agenda & Meeting SaaS Platform
Simplify Approvals and Goals With Agenda & Meeting SaaS Platform

Digital Solutions for Your Business with IGNEK

4.9

5.0

5.0

5.0

LOGO

Making the world a better place through constructing elegant hierarchies

COMPANY

  • About
  • Career
  • Case Study
  • Blogs

SERVICES

  • Enterprise Portal Development
  • Dedicated Development Team
  • Back-end Development
  • Front-end Development
  • Digital Transformation
  • SaaS Development

HIRE US

  • Liferay
  • Spring Boot
  • ReactJS
  • Healthcare
  • MERN Stack
  • AEM

CONTACT

  • info@ignek.com
  • info@ignek.com
SALES
  • sales@ignek.com
  • (+91) 635 157 6580
CAREER
  • hr@ignek.com
  • (+91) 932 849 5160
  • E 910-912, Ganesh Glory 11, Jagatpur Road, SG Highway, Ahmedabad, Gujarat - 382470

© 2018-2025 IGNEK, Inc. All rights reserved

Linkedin Facebook X-twitter Instagram