Question

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
jconnolly's picture

I am new to Drupal.

Here is what I am looking to do

I want one user to receive a registration email
I want another user type to receive a different registration

Drupal 6

Any Ideas is appreciated

Comments

Needs more detail

DamienMcKenna's picture

How would you intend to differentiate between whether users would get one email vs another?

I believe jconnolly is

socratesone's picture

I believe jconnolly is talking about registration messages based on roll ("another user type").

There is a thread about it here:
http://drupal.org/node/267848

It involves the use of the "Auto Assign Roll" module (currently in beta), here:
http://drupal.org/node/138844/release

However, a little more info would be helpful.

You may be able to do this with actions and the rules module:
http://drupal.org/project/rules

You could try creating two actions - sending two different emails, then creating a rule which triggers upon registration with some conditional logic to determine which action to trigger.

email

jconnolly's picture

I looked at triggers but how do I turn off the regular registration email? I dont want them to receive 2 emails

Good question. Take a look at

socratesone's picture

Good question. Take a look at this thread here:
http://stackoverflow.com/questions/4821063/how-do-i-disable-the-confirma...

Question

jconnolly's picture

down vote Depending on the type of message you need to disable, do the following ...

Add something looking like the following line in your settings.php

$conf['user_mail_register_no_approval_required_notify'] = FALSE;

If I ad this and I set two triggers to send emails when a different user type registers will this block those emails