Fórum

To use Email-Verification on account creation time in lifery portal

Nitin Gupta, modificado 14 Anos atrás.

To use Email-Verification on account creation time in lifery portal

New Member Postagens: 5 Data de Entrada: 28/01/10 Postagens Recentes
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, modificado 14 Anos atrás.

RE: To use Email-Verification on account creation time in lifery portal

Regular Member Postagens: 192 Data de Entrada: 18/11/06 Postagens Recentes
company.security.strangers.verify=true <-- add this to your portal-ext.properties file.
Nitin Gupta, modificado 14 Anos atrás.

RE: To use Email-Verification on account creation time in lifery portal

New Member Postagens: 5 Data de Entrada: 28/01/10 Postagens Recentes
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, modificado 14 Anos atrás.

RE: To use Email-Verification on account creation time in lifery portal

Regular Member Postagens: 192 Data de Entrada: 18/11/06 Postagens Recentes
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, modificado 14 Anos atrás.

RE: To use Email-Verification on account creation time in lifery portal

New Member Postagens: 5 Data de Entrada: 28/01/10 Postagens Recentes
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, modificado 13 Anos atrás.

RE: To use Email-Verification on account creation time in lifery portal

Junior Member Postagens: 44 Data de Entrada: 29/09/10 Postagens Recentes
Hi,

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

Thanks and regards,
Matthieu
thumbnail
Suhail Ahmed, modificado 13 Anos atrás.

RE: To use Email-Verification on account creation time in lifery portal

Regular Member Postagens: 126 Data de Entrada: 02/01/08 Postagens Recentes
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


##
## Mail
##

    #
    # Set the JNDI name to lookup the Java Mail session. If none is set, then
    # the portal will attempt to create the Java Mail session based on the
    # properties prefixed with "mail.session.".
    #
    #mail.session.jndi.name=mail/MailSession

    #
    # Set the properties used to create the Java Mail session. The property
    # prefix "mail.session." will be removed before it is used to create the
    # session object. These properties will only be read if the property
    # "mail.session.jndi.name" is not set.
    #
    mail.session.mail.pop3.host=localhost
    mail.session.mail.pop3.password=
    mail.session.mail.pop3.port=110
    mail.session.mail.pop3.user=
    mail.session.mail.smtp.auth=false
    mail.session.mail.smtp.host=localhost
    mail.session.mail.smtp.password=
    mail.session.mail.smtp.port=25
    mail.session.mail.smtp.user=
    mail.session.mail.store.protocol=pop3
    mail.session.mail.transport.protocol=smtp


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


Thanks

Suhail Ahmed
Rei Mat, modificado 13 Anos atrás.

RE: To use Email-Verification on account creation time in lifery portal

Junior Member Postagens: 44 Data de Entrada: 29/09/10 Postagens Recentes
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..