Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
john john
regarding verification email after creating user
January 8, 2013 8:21 AM
Answer

john john

Rank: New Member

Posts: 23

Join Date: December 17, 2012

Recent Posts

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
January 8, 2013 11:45 PM
Answer

Muniraj saravanan

Rank: Junior Member

Posts: 75

Join Date: June 1, 2011

Recent Posts

you modify the email template file to get desired results
john john
RE: regarding verification email after creating user
January 9, 2013 6:37 AM
Answer

john john

Rank: New Member

Posts: 23

Join Date: December 17, 2012

Recent Posts

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
February 25, 2013 9:46 PM
Answer

Dhruv Pal

Rank: Junior Member

Posts: 82

Join Date: January 23, 2013

Recent Posts

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
February 27, 2013 11:41 AM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1505

Join Date: August 7, 2006

Recent Posts

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
March 12, 2013 9:52 PM
Answer

Dhruv Pal

Rank: Junior Member

Posts: 82

Join Date: January 23, 2013

Recent Posts

i am using liferay 6.1