When setting up Liferay DXP it's necessary to add an smtp-server e.g. for resetting your password. For testing/development purpose it's easier to use a service like mailtrap.io. Simply add the portal-ext.properties with the right settings and you are good to go without spamming your users.
Last active
October 13, 2020 11:55
-
-
Save jverweijL/90650dcf24eb1c760d62a217f328cf80 to your computer and use it in GitHub Desktop.
Using mailtrap.io with Liferay DXP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mail.session.mail.smtp.auth=true | |
mail.session.mail.smtp.host=smtp.mailtrap.io | |
mail.session.mail.smtp.password=[your_password] | |
mail.session.mail.smtp.port=465 | |
mail.session.mail.smtp.user=[your_username] | |
admin.email.from.name=Emails from a friend | |
[email protected] | |
announcements.email.to.name=Announcements from a friend | |
[email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment