Forums / Developer / How do I send an email to new user?

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