Closed (fixed)
Project:
Drupal Commons
Version:
7.x-3.x-dev
Component:
Email Notifications
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Nov 2012 at 23:30 UTC
Updated:
26 Jun 2013 at 17:55 UTC
Jump to comment: Most recent file
Comments
Comment #1
lisarex commentedRather, george_foreman@example.com
Comment #2
Mr. Nx commentedI get those messages everytime i comment on any contents. I think it is the fault of the invalid e-mail address provided for the test users whom the system tries to inform of new activity on their subscribed contents via e-mail.
EDIT:
Yes, i tried and tested by allocating real email addresses to the default test users and the return mails appears no more.
Comment #3
ezra-g commentedBumping to major and re-titling to reflect the action item here.
Thanks for the report!
We could exclude these users from receiving emails by implementing hook_message_subscribe_get_subscribers_alter().
However, this feels like code that's pretty specialized to sites that have demo content.
It's worth considering creating a commons_demo_content() module, moving our bit from commons_install() to a hook_install() function for that module and implementing hook_message_subscribe_get_subscribers_alter().
Comment #4
mmilano commentedSince example.com is an officially reserved domain for testing/documentation anyway, what do you think about this approach?
It would also support a case where a test user @example.com got added later.
I understand where you're coming from as far as a separate demo module though.
Comment #5
mmilano commentedComment #6
ezra-g commentedGreat point. Committed. Thanks!
http://drupalcode.org/project/commons_misc.git/commit/dbc21f9
Comment #8
lisarex commentedTagging with 'user experience' to track usability studies
Comment #9
ezra-g commentedRestoring 7.x-3.x version property.