フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
john john
regarding verification email after creating user
2013/01/08 8:21
答え

john john

ランク: New Member

投稿: 23

参加年月日: 2012/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
Muniraj saravanan
RE: regarding verification email after creating user
2013/01/08 23:45
答え

Muniraj saravanan

ランク: Junior Member

投稿: 77

参加年月日: 2011/06/01

最近の投稿

you modify the email template file to get desired results
john john
RE: regarding verification email after creating user
2013/01/09 6:37
答え

john john

ランク: New Member

投稿: 23

参加年月日: 2012/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....
Dhruv Pal
RE: regarding verification email after creating user
2013/02/25 21:46
答え

Dhruv Pal

ランク: Junior Member

投稿: 82

参加年月日: 2013/01/23

最近の投稿

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
Mika Koivisto
RE: regarding verification email after creating user
2013/02/27 11:41
答え

Mika Koivisto

LIFERAY STAFF

ランク: Liferay Legend

投稿: 1505

参加年月日: 2006/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.
Dhruv Pal
RE: regarding verification email after creating user
2013/03/12 21:52
答え

Dhruv Pal

ランク: Junior Member

投稿: 82

参加年月日: 2013/01/23

最近の投稿

i am using liferay 6.1