The Email Field CCK Widget provides a flexible custom field option for an e-mail address. This widget can be used in a custom node type to automatically display e-mail addresses as either a mailto link (default) or as a link to a web-based mailer within your Drupal site.
This feature is an excellent one to use as it helps limit an unscrupulous organization or individual's ability to harvest e-mail addresses on the web through the use of spam bots.
To add an Email field to your content type, do the following:
From within the Field Manager:
Enter a label name in the New field text box, enter a field name in the Field Name box (remember, all small letters, alpha-numeric, and underscores only), and select Email from the Field type drop down menu.
Click the Save button when finished.
Once inside the Email Field configuration panel, make any desired adjustments, and then click the Save field settings button.
Once returned to the Field Manager, reorder your field, if desired, by dragging the field into position with your mouse.
Click the Save button when completed
After the Email field is created and configured, the display can be configured as well. In this case, the Display configuration determines how the field will function.
There are two different ways the Email field can work:
The Contact Form method is preferred as it removes several additional steps for your users. It is also an option that can be used, even if a person doesn't have a mail client that is included in the mailto options.
To select the Contact Form method, in both the Full Node and Teaser View columns, select Email Contact Form from the drop down.
Click the Save button.
So now that the Email field is configured, let's take a look at how it works...