Drupal core contact form

Created by janroe

Drupal core contact form 6.26
Module in core (optional) - Site configuration > Contact form
originally created Sat, 24 Oct 2009 - 09:43 for Drupal 6.14

The core contact form module is quite simple, but not very flexible. The handbook entry is here http://drupal.org/getting-started/6/admin/build/contact, and it is not overly detailed.

The heading "Contact" cannot be changed. Also, to me a bit inexplicably, it adds a personal contact form option to every user profile, so that users of a site can contact each other. See the Profile > Edit tab. Furthermore, it you click the link to your own personal profile contact page, you get access denied - by design. Strange. It's not possible to globally disable these personal inter-user contacts.

The Permissions are very simple:
- access site-wide contact form 
- administer site-wide contact form

The permissions don't mention the personal contact forms where users can contact each other. Yet it's certainly not always wanted.

The Contact form, as delivered by core, is not very useful for an online store. At the very least, the personal contact form on the user profiles must be removed (additional patch or self-made module providing more detailed permissions). Or, the entire thing replaced by the webform module.

Alternative Webform

[SOLVED] Webform is not working for me. Apparently this is a wider issue. My experience:

Installed and enabled the webform module 6.x-3.18. Made a webform contact form. The webform module isn't sending any mail.
http://drupal.org/node/364673 Hola, but that's D7 but actually mixed
http://drupal.stackexchange.com/questions/17291/webform-fails-to-send-mails

Because the webform module is not sending mail, installed the 
drupal.org/project/smtp
smtp authentication module with required old version phpmail v2.2.1. Got standard test emails working with it in SSL and the standard contact form keeps on working fine as well.
http://drupal.org/project/smtp

But the webform module sends no mail, even with smtp installed and working. It gives a confirmation that mail is sent, but mail is in fact not sent. There is NOTHING in the logs. What is wrong with this module?

Some in the forums recommend to discard an existing form and make it new, or remove the subject and put it back. I've thoroughly had it. There is no purpose in having an unreliable contact form. I've absolutely Wasted my Time, Again.

Finally installed the contributed module:
http://drupal.org/project/mail_logger 6.x-1.1 Logs all mail on the site
No email is being logged from webform. There is no outgoing email. All other emails are being logged fine.

SOLUTION - Brrr
There is an additional menu item at web form creation, that is easily overlooked when using the top-bar Admin Menu:
Content > Webform > List > edit > Webform: 
- Form Components
- Email (per individual form)
--- "Currently not sending e-mails, add an e-mail recipient below." Hahaha.
- Form settings (per individual form)

The outgoing email is logged and it arrives.

Related Contact form

Access denied to "your personal contact form"
http://drupal.org/node/826394 - access denied is normal

A lot of BS and a final recommendation to patch or create a module
http://stackoverflow.com/questions/2540582/how-do-i-disable-the-personal-contact-form-option-in-the-user-edit-form

"Something like this perhaps (untested):"
http://drupal.org/node/138574#comment-3018976 and loving it.

Keep it simple, hide it with css:
http://drupal.org/node/1029172 - a systematic solution
this is not a solution, but it certainly is the quickest fix, not affecting actual core if you use theme css.

A Contact form patch
http://drupal.org/node/61600 permissions for side wide and personal contact (patch)

Add permission to *have* a personal contact form
http://drupal.org/node/254460 Drupal 8 (not my case)

Create permission to user personal contact form (patch)
http://drupal.org/node/371621 Drupal 7 (not my case)

Allow anonymous users access to a members personal contact form (not sure if applicable)
http://drupal.org/node/58224 Drupal 7 (not my case)

A patched separate module?
http://drupal.org/node/328214 apparently recommended?