Go to "my account" section. In there, you see a "Contact" tab. Click on that, and you can send yourself an email. If you have set your account to "not allow contacts", then it will say you cannot contact yourself. E.g. if your username is 'foobar' it will say: foobar is not accepting emails.

How can I prevent this silly behaviour? Note: I'm using 'usernode' module, if that makes a difference.

Thanks

Comments

pwolanin’s picture

What version of Drupal are you using? This was fixed at some point (I think), but maybe not until 5.x. or a recent 4.7.x.

Also, are you doing this as a regular user or an admin? I think even with the fix an admin can still e-mail themselves (due to the logic in showing/hiding the tabs).

---
Work: BioRAFT

nancydru’s picture

The contact tab is not there for you - it's there for others who need to send you a message.

In the Administer area (any release) you'll find "Contact Form." In the settings, there is a check box for "Enable personal contact form by default" - turn it off.

Nancy W.
now running 4 sites on Drupal so far
Drupal Cookbook (for New Drupallers)

WisTex’s picture

I know that I have contacted myself before to test to see if the message is being delivered, whether or not it is being put in my spam folder, and sometimes just to send myself a quick note or reminder of something. So contacting yourself can be useful sometimes. :)

marsrc’s picture

Thanks for the replies. Yes, I know it's for other users to contact me. My point is, as a normal user, it's confusing for them to see this when they are looking at their own account. The contact tab should only show up when you are viewing someone else's profile.

I'm using 4.7.

Thanks

pwolanin’s picture

see: http://drupal.org/node/70895

the fix was never applied to the 4.7 branch (though you could patch it yourself or try to convince killes that it should be done).

---
Work: BioRAFT