Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Nitin Gupta
To use Email-Verification on account creation time in lifery portal
28. Januar 2010 00:05
Antwort

Nitin Gupta

Rang: New Member

Nachrichten: 5

Eintrittsdatum: 28. Januar 2010

Neue Beiträge

Is there any kind of facility on liferay portal that after account creation, a email has been sent and user has to verify his email address before login into the liferay portal ??


Any help would be appreciated ??

Thanks in Advance..
atul patel
RE: To use Email-Verification on account creation time in lifery portal
28. Januar 2010 00:51
Antwort

atul patel

Rang: Regular Member

Nachrichten: 190

Eintrittsdatum: 17. November 2006

Neue Beiträge

company.security.strangers.verify=true <-- add this to your portal-ext.properties file.
Nitin Gupta
RE: To use Email-Verification on account creation time in lifery portal
28. Januar 2010 01:49
Antwort

Nitin Gupta

Rang: New Member

Nachrichten: 5

Eintrittsdatum: 28. Januar 2010

Neue Beiträge

I have tried after setting this property "company.security.strangers.verify=true" but no success.


The User is registered and activated just after his account creation.


Have you tried that way and got that behaviour ??
atul patel
RE: To use Email-Verification on account creation time in lifery portal
28. Januar 2010 01:55
Antwort

atul patel

Rang: Regular Member

Nachrichten: 190

Eintrittsdatum: 17. November 2006

Neue Beiträge

The behavior should be like this:

User registers.
Password is generated.
Account is created and activated. User can't login because they don't know their password
Password is emailed to the user.

*The confirmation screen with login form is presented but the user's password should not appear in the confirmation message.

User receives email and logs in with the email

Are you looking for a different behavior?
Nitin Gupta
RE: To use Email-Verification on account creation time in lifery portal
28. Januar 2010 02:11
Antwort

Nitin Gupta

Rang: New Member

Nachrichten: 5

Eintrittsdatum: 28. Januar 2010

Neue Beiträge

Thanks Atul for the Reply.

In my case password is not randomly generated by system instead user have to enter his password at account creation login time. so he knows his credentials when he got registered.

so it doesn't make sense if system sent the password to email-id. because his account is already activated.


Thanks..


atul patel:
The behavior should be like this:

User registers.
Password is generated.
Account is created and activated. User can't login because they don't know their password
Password is emailed to the user.

*The confirmation screen with login form is presented but the user's password should not appear in the confirmation message.

User receives email and logs in with the email

Are you looking for a different behavior?
Rei Mat
RE: To use Email-Verification on account creation time in lifery portal
6. Oktober 2010 02:40
Antwort

Rei Mat

Rang: Junior Member

Nachrichten: 44

Eintrittsdatum: 29. September 2010

Neue Beiträge

Hi,

Have you achieve to do what you wanted?
I am interested in the solution...

Thanks and regards,
Matthieu
Suhail Ahmed
RE: To use Email-Verification on account creation time in lifery portal
6. Oktober 2010 03:25
Antwort

Suhail Ahmed

Rang: Regular Member

Nachrichten: 124

Eintrittsdatum: 1. Januar 2008

Neue Beiträge

Hi,


Liferay will defaultly send the email to your mail id if mail setting has configured, no need to do extra things just set up email configurations

 1
 2##
 3## Mail
 4##
 5
 6    #
 7    # Set the JNDI name to lookup the Java Mail session. If none is set, then
 8    # the portal will attempt to create the Java Mail session based on the
 9    # properties prefixed with "mail.session.".
10    #
11    #mail.session.jndi.name=mail/MailSession
12
13    #
14    # Set the properties used to create the Java Mail session. The property
15    # prefix "mail.session." will be removed before it is used to create the
16    # session object. These properties will only be read if the property
17    # "mail.session.jndi.name" is not set.
18    #
19    mail.session.mail.pop3.host=localhost
20    mail.session.mail.pop3.password=
21    mail.session.mail.pop3.port=110
22    mail.session.mail.pop3.user=
23    mail.session.mail.smtp.auth=false
24    mail.session.mail.smtp.host=localhost
25    mail.session.mail.smtp.password=
26    mail.session.mail.smtp.port=25
27    mail.session.mail.smtp.user=
28    mail.session.mail.store.protocol=pop3
29    mail.session.mail.transport.protocol=smtp


kindly use this code and mention all the required fields that are missing.


Thanks

Suhail Ahmed
Rei Mat
RE: To use Email-Verification on account creation time in lifery portal
6. Oktober 2010 03:30
Antwort

Rei Mat

Rang: Junior Member

Nachrichten: 44

Eintrittsdatum: 29. September 2010

Neue Beiträge

Hi,

Thanks for the reply but my question was about this:


Thanks Atul for the Reply.

In my case password is not randomly generated by system instead user have to enter his password at account creation login time. so he knows his credentials when he got registered.

so it doesn't make sense if system sent the password to email-id. because his account is already activated.


Thanks..