I use version 7.x-1.3+4-dev and I found that email does not send to site email and user email when set registration settings to following below:

  • Who can register accounts? -> Visitors, but administrator approval is required.
  • Require e-mail verification when a visitor creates an account. -> Checked.

I compare function profile2_form_after_user_register_submit_handler (from profile2) and user_register_submit (from user). I found that it has a little bit mistake. So I fixed, tested and make a patch. Please see attach below.

CommentFileSizeAuthor
patch_email_notification.patch430 bytesrutcreate

Comments

loparr’s picture

good catch, thank you. Should be committed asap.

nithinkolekar’s picture

Title: Fixed email does not send after user register. » [Fixed] email does not send after user register.

still not committed?

  • Spleshka committed 59a7784 on 7.x-1.x authored by rutcreate
    Issue #2280199 by rutcreate: Fixed issue when email does not send after...
spleshka’s picture

Title: [Fixed] email does not send after user register. » Email does not send after user register.
Status: Needs review » Fixed

Looks good to me, don't know why we didn't commit it 8 months ago. Thanks for patch and reminder.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

drmftbt’s picture

Since I updated my site from 1.3 to 1.4 this error appears again. There is no email send when i use profile2. After a downgrade to 1.3 it works again just fine.

ludo.r’s picture

I have the same issue as #6, emails are not sent after user registration.
When downgrading to 7-x.13, emails are sent.

rickj’s picture

See #2989453 for latest comments on this problem.