Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7810367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:45:07+00:00 2026-06-02T03:45:07+00:00

I am working on a Grails based application. I have configured my application to

  • 0

I am working on a Grails based application.
I have configured my application to work with mail and Database setting from
configuration file(app-config.properties file present in the conf folder).
It is working properly.

Config.groovy:

grails<br /> 
{<br />
    mail<br />
    {<br />
        host = ""<br />
        username = ""<br />
        password = ""<br />
        port =  0<br />
        from =  "" <br />
        props = ["mail.smtp.auth":"true" ]<br />
    }<br />
}<br />
**app-config.properties**:<br />

grails.mail.default.from =abc@test.com<br />
grails.mail.host =mail.test.com<br />
grails.mail.username =testUser<br />
grails.mail.password =testPassword<br />
grails.mail.port =25<br />
grails.mail.from = abc@test.com<br />

Some Other Details:
1. Grails Version : 1.3.7
2. Mail Plugin version : 1.0

My requirement is that I want to use encrypted user name and password for mail setting.
My question is that how can I use any encrypted property with mail setting as well as any
other attributes in Grails(i.e. Database user credentials….).

Regards,
Sanjay Kharwar

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T03:45:08+00:00Added an answer on June 2, 2026 at 3:45 am

    Already somewhat answered in the 2 following places:

    Stackoverflow answer

    Grails-3620

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Grails 1.3.7 I have some configuration located in an external config file. One of
I have been trying for 4 days to get app-engine and grails working together
I am working on a grails project and I have put a .jar file
I'm working on a Linux/Apache/MySQL/Grails application and have the choice of build tools. I'm
I am working on a grails web-app The application is running on a very
I have been working on the project where application is using grails 1.2.2.... Now
I'm working on a Grails application. There is a domain class participant - within
I'm working through the Grails In Action book and have noticed 2 instances that
I am working on a web application (using Grails) which will generate a gift
I am working on my first Grails application, which involves porting over an old

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.