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

AdminEmail=xxx@xxx.xx

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.

eZ debug

Timing: Jan 30 2025 16:38:45
Script start
Timing: Jan 30 2025 16:38:45
Module start 'layout'
Timing: Jan 30 2025 16:38:45
Module start 'content'
Timing: Jan 30 2025 16:38:46
Module end 'content'
Timing: Jan 30 2025 16:38:46
Script end

Main resources:

Total runtime1.1621 sec
Peak memory usage8,192.0000 KB
Database Queries69

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.1328151.2109
Module start 'layout' 0.00500.0035 739.3438220.6953
Module start 'content' 0.00851.1527 960.03914,478.9688
Module end 'content' 1.16120.0009 5,439.007815.8516
Script end 1.1621  5,454.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2828160.0002
Check MTime0.00120.1046160.0001
Mysql Total
Database connection0.00080.067610.0008
Mysqli_queries1.074692.4679690.0156
Looping result0.00050.0462670.0000
Template Total1.115896.020.5579
Template load0.00190.163920.0010
Template processing1.113995.847620.5569
Template load and register function0.00110.098910.0011
states
state_id_array0.00130.107810.0013
state_identifier_array0.00190.159820.0009
Override
Cache load0.00160.1354340.0000
Sytem overhead
Fetch class attribute can translate value0.00190.159520.0009
Fetch class attribute name0.00170.150580.0002
XML
Image XML parsing0.00200.171020.0010
class_abstraction
Instantiating content class attribute0.00000.0020100.0000
General
dbfile0.00320.2769160.0002
String conversion0.00000.000440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
2content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs