Share » Forums » Developer » Email to activate accounts

Email to activate accounts

Email to activate accounts

Saturday 16 April 2011 1:18:24 pm - 6 replies

Author Message

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

AdminEmail=xxx@xxx.xx

EmailSender=

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

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu