How do I send an email to new user?

Author Message

SathishKumar Subramanian

Friday 26 December 2003 12:45:56 am

Hi,

While creating user through admin interface by the admin, I want to send an automatic email to the newly created user . Also I need to send the allotted roles details to the user through email.

Pls help me to do the same.

Sathizh

Balazs Halasy

Friday 26 December 2003 4:15:52 am

I think you could solve this with a custom workflow event.

Create a workflow event (involves PHP coding) that extracts the necessary information and sends out an email to the user that was created. Set up a workflow that uses this event. Set up the trigger so that the workflow triggers after something has been published.

Balazs

SathishKumar Subramanian

Friday 26 December 2003 9:48:16 pm

hi Balazs,

Thankx for your suggestion to use a workflow. While creating the workflows how can I get the newly created user details in PHP? Pls provide details regards the same.

Thanx in advance :)

sathizh

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 19 2025 03:32:33
Script start
Timing: Jan 19 2025 03:32:33
Module start 'layout'
Timing: Jan 19 2025 03:32:33
Module start 'content'
Timing: Jan 19 2025 03:32:34
Module end 'content'
Timing: Jan 19 2025 03:32:34
Script end

Main resources:

Total runtime1.2678 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 589.1641152.6250
Module start 'layout' 0.00800.0030 741.789139.4609
Module start 'content' 0.01111.2553 781.2500500.3594
Module end 'content' 1.26640.0014 1,281.60948.3125
Script end 1.2677  1,289.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2666160.0002
Check MTime0.00140.1091160.0001
Mysql Total
Database connection0.00150.119610.0015
Mysqli_queries1.220196.2399570.0214
Looping result0.00050.0367550.0000
Template Total1.234097.320.6170
Template load0.00220.171520.0011
Template processing1.231997.168320.6159
Template load and register function0.00020.017310.0002
states
state_id_array0.00110.085210.0011
state_identifier_array0.00140.109120.0007
Override
Cache load0.00180.1451170.0001
Sytem overhead
Fetch class attribute can translate value0.00060.049920.0003
Fetch class attribute name0.00150.117840.0004
XML
Image XML parsing0.00070.054920.0003
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00080.0652160.0001
String conversion0.00000.000840.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs