掲示板

regarding verification email after creating user

11年前 に john john によって更新されました。

regarding verification email after creating user

New Member 投稿: 23 参加年月日: 12/12/17 最新の投稿
Hi,

I have a requirement like after user creation we have to sent an verification email to the user.

for this i have added the following property in portal-ext.properties.

company.security.strangers.verify=true

it is not working as expected. i haven't received any verification email .but i am receiving normal mail like this..

Date: Tue, 8 Jan 2013 16:09:28 +0000 (GMT)
From: Test Test <test@liferay.com>
To: test00112 test00112 test001 <test00112@liferay.com>
Message-ID: <user.10538@events.liferay.com>
Subject: http://localhost: Your New Account
MIME-Version: 1.0
Content-Type: text/html;charset="UTF-8"
Content-Transfer-Encoding: 7bit

Dear test00112 test00112 test001,<br /><br />

Welcome! You recently created an account at http://localhost.<br /><br />

Sincerely,<br />
Test Test<br />
test@liferay.com<br />
http://localhost<br />


Any body having idea on this front...


thanks in advance
thumbnail
11年前 に Muniraj saravanan によって更新されました。

RE: regarding verification email after creating user

Junior Member 投稿: 95 参加年月日: 11/06/01 最新の投稿
you modify the email template file to get desired results
11年前 に john john によって更新されました。

RE: regarding verification email after creating user

New Member 投稿: 23 参加年月日: 12/12/17 最新の投稿
Hi Muniraj,

thanks for your replay..

I did that but i need a verificationEmailLink..after doing that i am getting like this....


Date: Wed, 9 Jan 2013 11:26:43 +0000 (GMT)
From: Test Test <test@liferay.com>
To: test335 test335 test335 <test335@liferay.com>
Message-ID: <user.11729@events.liferay.com>
Subject: http://localhost: Your New Account
MIME-Version: 1.0
Content-Type: text/html;charset="UTF-8"
Content-Transfer-Encoding: 7bit

<p>
Dear test335 test335 test335,<br />
<br />
Please verify your email address for http://localhost at [$EMAIL_VERIFICATION_URL$].<br />
<br />
Your verification code is [$EMAIL_VERIFICATION_CODE$] Sincerely,<br />
Test Test<br />
test@liferay.com<br />
http://localhost</p>


here in my code some how i need to set $EMAIL_VERIFICATION_URL$ value..

though i am calling UserLocalServiceImpl.sendEmailAddressVerification still not working....
11年前 に Dhruv Pal によって更新されました。

RE: regarding verification email after creating user

Junior Member 投稿: 82 参加年月日: 13/01/24 最新の投稿
Hi

I know its quite bit late but i am facing same problem.So please let me know if you have found any solution to it
thumbnail
11年前 に Mika Koivisto によって更新されました。

RE: regarding verification email after creating user

Liferay Legend 投稿: 1519 参加年月日: 06/08/07 最新の投稿
Are you using Liferay 6.1 or older version? Only in 6.1 and later will it send a email with a verification link. In previous versions you had to have liferay generate the password for the user so they wouldn't be able to login if they didn't get the email with their password.
11年前 に Dhruv Pal によって更新されました。

RE: regarding verification email after creating user

Junior Member 投稿: 82 参加年月日: 13/01/24 最新の投稿
i am using liferay 6.1