On a fresh install, i created 2 profile types (one and two) and 2 registration steps (first and second). Profile "one" is assigned to step "first" and profile "two" is assigned to step "second". When the registration is complete, i receive 2 mails (duplicates) of the registration process. The account creation setting is on "Visitors, but administrator approval is required". If i switch it to "Visitors", i receive only one mail.

How can i fix the mail duplication?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

iaminawe’s picture

I can confirm this problem - any help would be greatly appreciated. Its the last bug I have to squish before launching this site.

Thanks in advance for any advice, patches or suggestions

purushotam.rai’s picture

Hi guys,

I tried debugging the cause of this issue and after some efforts i found that after solving #2504791: Step's overwrites submit handlers from other modules (including LoginToboggan) issue, the submit handler functions have been arranged properly and hence we just now do not need to trigger mail explicitly from step module so removing the alters performed and mail trigger action from the step module solved the problem.

I have tested this patch and it works fine for me. It would be very great if someone else also tests it asap.

Would be releasing new stable version of Step Module soon.

Thanks,
Purushotam

purushotam.rai’s picture

Status: Active » Needs review
sumitmadan’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me. :)

  • purushotam.rai committed fbefef5 on 7.x-1.x
    Issue #2265459 by purushotam.rai: Multiple registration mail if "...
purushotam.rai’s picture

Status: Reviewed & tested by the community » Fixed

Code pushed at 7.x-1.x Dev Branch. If no issues found further would be releasing 7.x-2.x stable release very soon as this is the last bug of the module as of now.

purushotam.rai’s picture

purushotam.rai’s picture

Status: Fixed » Closed (fixed)