Email to activate accounts

Author Message

David Santiso

Saturday 16 April 2011 1:18:24 pm

Hi,

The mail server is ENABLE on my server

How do I send an email automatically to activate the registered user account?

Thanks,

David

Chen Xiongjie

Monday 18 April 2011 1:52:50 am

If the email server is working, when a new user registers(after clicking register button), in normal case, an activation mail will be sent to the user's mail. Is this what you asked?

eZ Comments: http://projects.ez.no/ezcomments
twitter: http://twitter.com/xiongjie

David Santiso

Monday 18 April 2011 5:19:15 am

Yes, but doesn't sent nothing.

Chen Xiongjie

Tuesday 19 April 2011 12:28:51 am

Did you change any setting like VerifyUserEmail=enabled in site.ini?

eZ Comments: http://projects.ez.no/ezcomments
twitter: http://twitter.com/xiongjie

David Santiso

Tuesday 19 April 2011 3:52:56 am

I haven't changed anything about this, but the details are correct.

site.ini says VerifyUserEmail is deprecated, but it's enabled. It says I've to use VerifyUserType=email and is also correct.

David Santiso

Tuesday 19 April 2011 7:21:20 am

I've seen in class ezmailtransport.php that the sendMail function has this code by default:

function sendMail( eZMail $mail )
{
    return false;
}

Chen Xiongjie

Tuesday 26 April 2011 7:45:30 am

Can you put your email setting, in settings/override/site.ini.append.php?

example:

[MailSettings]

Transport=sendmail

[email protected]

EmailSender=

eZ Comments: http://projects.ez.no/ezcomments
twitter: http://twitter.com/xiongjie

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.