Foren

Disable e-mail validation in Liferay 6.1

MICHAIL MOUDATSOS, geändert vor 12 Jahren.

Disable e-mail validation in Liferay 6.1

Regular Member Beiträge: 110 Beitrittsdatum: 04.10.11 Neueste Beiträge
Hello all,

I've recently tried out the Liferay 6.1 tomcat bundle. I logged in as default admin and created a user. I did not do any mail-related setup. In portal-ext.properties I ve set:
    #
    # Configure email notification settings.
    #
    #admin.email.from.name=Joe Bloggs
    #admin.email.from.address=test@liferay.com

    admin.email.user.added.enabled=false


and indeed the related option is not checked in GUI. Still when I try to log in as the created user it asks for a verification code which I assume it is supposed to have been sent by e-mail to the user. Note that a message is shown at console saying something like 'no mail server ctra is defined ...'.

I want to turn this off. How can I skip this verification mechanism?

Thank you all in advance
Maciej Witwicki, geändert vor 11 Jahren.

RE: Disable e-mail validation in Liferay 6.1

New Member Beiträge: 20 Beitrittsdatum: 05.07.12 Neueste Beiträge
I've got the same issue, please anyone provide a way to turn it off.
thumbnail
Hitoshi Ozawa, geändert vor 11 Jahren.

RE: Disable e-mail validation in Liferay 6.1

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
By "verification code", do you mean the "password"? You can't turn off password but you can check "remember password" so you'll automatically be logged in the next time you try to login.
Maciej Witwicki, geändert vor 11 Jahren.

RE: Disable e-mail validation in Liferay 6.1

New Member Beiträge: 20 Beitrittsdatum: 05.07.12 Neueste Beiträge
If you don't know what "verification code" is then why are you posting??
no, its NOT password. its VERIFICATION CODE sent after creating account to user's email.
thumbnail
Hitoshi Ozawa, geändert vor 11 Jahren.

RE: Disable e-mail validation in Liferay 6.1

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
Maciej, just disable sending email when an user account is created by an admin. Sorry, but I have it set up so verification code is only sent when an user create an new account himself. If you are having problem setting up your liferay installation and don't know how to google, I recommend that you take beginners liferay training course. I hear they do provide a good step by step hand on instructions.
thumbnail
Tejas Kanani, geändert vor 11 Jahren.

RE: Disable e-mail validation in Liferay 6.1

Liferay Master Beiträge: 654 Beitrittsdatum: 06.01.09 Neueste Beiträge
Check if either below property is set to TRUE in portal-ext.properties

#
# Set this to true if strangers who create accounts need to be verified via
# email.
#
company.security.strangers.verify=true

OR
Require strangers to verify their email address?

is checked from Control Panel --> Portal settings --> General