Mail-Enabling Existing Contacts
You can mail-enable an existing contact by completing the following steps:
-
In the Exchange Management Console, expand the Recipient Configuration node and then select the related Mail Contact node. -
Right-click the Mail Contact node, and then choose New Contact. This starts the New Mail Contact Wizard. -
On the Introduction page, select Existing Contact and then click Browse. This displays the Select Contact dialog box. -
In the Select Contact dialog box, select the contact you want to
mail-enable and then click OK. Contacts for the current domain are
listed by name and organizational unit. You'll need to change the
scope, as discussed previously, if you don't see the contact you want
to use. -
Click Next. To the right of the External E-Mail Address text box is
an Edit button. Click the down arrow next to the Edit button to display
two options:
-
SMTP Address Click SMTP Address to associate a standard SMTP e-mail address with the contact. Enter the e-mail address, and then click OK. -
Custom Address
Click Custom Address to associate a custom e-mail address with the
contact. Enter the e-mail address, and then enter the e-mail address
type. Click OK.
-
Click Next, and then click New. The Exchange Management Console
mail-enables the selected contact. If an error occurs, the contact will
not be created. You will need to correct the problem and repeat this
procedure. -
Click Finish.
In the Exchange Management Shell, you can mail-enable an existing contact using the Enable-MailContact cmdlet. Example 2 provides the syntax and usage.
Example 2. Enable-MailContact cmdlet syntax and usage
Syntax Enable-MailContact -Identity ContactId -ExternalEmailAddress EmailAddress [-Alias ExchangeAlias ] [-DisplayName Name ] [-DomainController
FullyQualifiedName ] [-MacAttachmentFormat <BinHex | UuEncode | AppleSingle | AppleDouble>] [-MessageBodyFormat <Text | Html | TextAndHtml>] [-MessageFormat <Text | Mime>] [-PrimarySmtpAddress
SmtpAddress ] [-UsePreferMessageFormat <$true | $false>]
Usage Enable-MailContact -Identity "cpand.com/Sales/John Smith" -ExternalEmailAddress "SMTP:[email protected]" -Alias "JohnSmith" -DisplayName "John Smith"
Setting or Changing a Contact's Name and Alias
All mail-enabled contacts and users have the following name components:
-
First Name, Initials, Last Name The first name, initials, and last name of the contact -
Exchange Name The name used in the Exchange Management Console -
Display Name The name displayed in the global address list -
Alias The Exchange alias for the contact
You can set or change name and alias information for a mail-enabled contact or user by completing the following steps:
-
In the Exchange Management Console, expand the Recipient Configuration node and then select the related Mail Contact node. -
Double-click the name of the mail-enabled contact or user you want to work with. The Properties dialog box appears. -
On the General tab, the first text box sets the name used in the
Exchange Management Console. Change this text box if you'd like the
mail-enabled contact or user to have a different name. -
The Alias text box sets the Exchange alias. If you'd like to assign a new alias, enter the new Exchange alias in this text box. -
On the Contact Information or User Information tab, use the following text boxes to set the full name and display name to use:
-
First Name, Initials, Last Name Sets the contact's full name -
Name Sets the contact's display name as seen in the global address list
-
Click OK to save your changes.
Setting Additional Directory Information for Contacts
You can set additional directory information for a mail-enabled contact or user by completing the following steps:
-
In the Exchange Management Console, expand the Recipient Configuration node and then select the related Mail Contact node. -
Double-click the name of the mail-enabled contact or user you want to work with. The Properties dialog box appears. -
On the Contact Information or User Information tab, use the Web Page
text box to set the URL of the home page for the mail-enabled contact
or user, which can be on the Internet or the company intranet. -
On the Address And Phone tab, use the text boxes provided to set the
business address or home address to use. Normally, you'll want to enter
the business address rather than a personal address. This way, you can
track the business locations and mailing addresses of contacts at
various offices. -
Use the Phone Numbers text boxes to set the primary business
telephone, pager, fax, home telephone, and mobile telephone numbers. -
On the Organization tab, type the title, company, department, and office, as appropriate. -
To specify the manager of a mail-enabled contact or user, select the
Manager check box and then click Browse. In the Select Recipient User
Or Contact dialog box, select the contact's manager. When you specify a
manager, the contact shows up as a direct report in the manager's
account. Click Apply or OK to apply the changes.
Changing E-Mail Addresses Associated with Contacts
Mail-enabled contacts and users have several types of e-mail addresses associated with them:
-
An internal, automatically generated e-mail address used for routing within the organization -
An external e-mail address to which mail routed internally is forwarded for delivery
You can change the e-mail addresses associated with a mail-enabled contact or user by completing the following steps:
-
In the Exchange Management Console, expand the Recipient Configuration node and then select the related Mail Contact node. -
Double-click the name of the mail-enabled contact or user you want to work with. The Properties dialog box appears. -
On the E-Mail Addresses tab, e-mail addresses are listed by protocol
and type. If an e-mail address is also specified as an external
address, it is listed according to its protocol type, such as SMTP or X.400, and under the External heading. You can use the following techniques to manage a contact's e-mail addresses:
-
Create a new SMTP address Click the down arrow next to the Add button, and then select SMTP Address. Enter the e-mail address, and then click OK. -
Create a custom address
Click the down arrow next to the Add button, and then select Custom
Address. Enter the e-mail address, enter the e-mail address type, and
click OK. -
Edit an existing address Double-click the address entry, or click Edit on the toolbar. Modify the settings in the Address dialog box, and then click OK. -
Delete an existing address Select the address, and then click the Remove button.
-
To set an e-mail address as the default Reply To address, select it, and then click Set As Reply. -
To specify that an e-mail address is an external address, select it, and then click Set As External. Click OK.
Disabling Contacts and Removing Exchange Attributes
When you disable a contact using the Exchange management
tools, you permanently remove the contact from the Exchange database,
but you do not remove it from Active Directory. In the Exchange
Management Console, you can remove contacts by right-clicking them and
selecting Disable. When prompted to confirm this action, click Yes.
You can use the Disable-MailContact cmdlet to remove Exchange
attributes from contacts while retaining the contact in Active
Directory. Example 3 shows the syntax and usage.
Example 3. Disable-MailContact cmdlet syntax and usage
Syntax Disable-MailContact -Identity ContactIdentity
Usage Disable-MailContact -Identity "David So"
When you delete a contact using the Exchange management tools, you
permanently remove it from Active Directory and from the Exchange
database. In the Exchange Management Console, you can delete contacts
by right-clicking them and selecting Remove. When prompted to confirm
this action, click Yes.
You can use the Remove-MailContact cmdlet to delete contacts as well. Example 4 shows the syntax and usage.
Example 4. Remove-MailContact cmdlet syntax and usage
Syntax Remove-MailContact -Identity ContactIdentity
Usage Remove-Mailbox -Identity "Henrik Larsen"
|