Hello.
I needed this functionality: after successful user mail change, drupal must send message to old and new mail about this. Also I need tokens (old/new mail) in mail template.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

VasilyKraev’s picture

msgph’s picture

Thanks for the patch, it works fine.

Here's an updated patch which includes the subject variable meta-information to hook_variable_info so it could be localized.

Status: Needs review » Needs work

The last submitted patch, 2: email_confirm-send_message_after_change_mail-2016649-2.patch, failed testing.

greggles’s picture

Status: Needs work » Needs review
FileSize
7.02 KB

rerolling after removing the hunk that didn't apply. that hunk happened to be about making the drupal_set_message a 'warning' level even instead of 'ok' - and I think that kind of change should be in it's own issue instead of this one.

mErilainen’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Status: Needs review » Reviewed & tested by the community
FileSize
7 KB

Here is the patch refactored against the latest dev (works also for 1.3). I'm marking this RTBC because it doesn't include changes and I have tested it.

purushotam.rai’s picture

LGTM, It'll be nice to have this feature.