Create mail enabled contact in active directory
Here are the steps to create a mail-enabled contact in Active Directory:
Prerequisites:
- You have administrative privileges in Active Directory.
- You have the Active Directory Users and Computers snap-in installed on your computer.
- You have a domain-joined computer with the necessary permissions.
Step 1: Open Active Directory Users and Computers
- Open the Active Directory Users and Computers snap-in by going to Start > Administrative Tools > Active Directory Users and Computers.
- Alternatively, you can use the Windows Search bar to search for "Active Directory Users and Computers" and open it from the results.
Step 2: Create a new contact
- In the Active Directory Users and Computers console, right-click on the "Contacts" container (or any other container where you want to create the contact) and select "New" > "Contact".
- In the "New Contact" wizard, enter the following information:
- First name: Enter the first name of the contact.
- Last name: Enter the last name of the contact.
- Display name: Enter the display name of the contact (e.g., "John Doe").
- Email address: Enter the email address of the contact (e.g., "[email protected]").
- Other attributes: You can add additional attributes such as phone number, address, etc.
Step 3: Enable email
- In the "New Contact" wizard, click on the "Email" tab.
- Check the box next to "Enable email" to enable email for the contact.
- You can also specify the email address and other email-related settings.
Step 4: Set up email forwarding
- If you want to forward emails sent to the contact's email address to another email address, you can set up email forwarding.
- In the "Email" tab, click on the "Forwarding" button.
- Enter the email address to which you want to forward emails.
Step 5: Create the contact
- Click "OK" to create the contact.
- The contact will be created in Active Directory and will be mail-enabled.
Verification
- To verify that the contact is mail-enabled, you can use the following command in the Windows Command Prompt:
dsquery contact -name <contact_name> -o rdn
Replace
<contact_name>
with the name of the contact you created.
This command will display the contact's RDN (Relative Distinguished Name), which should include the email address.
Alternatively, you can use the Active Directory Users and Computers console to verify that the contact is mail-enabled. Right-click on the contact and select "Properties". In the "Properties" window, click on the "Email" tab. If the contact is mail-enabled, you should see the email address listed under "Email addresses".
That's it! You have successfully created a mail-enabled contact in Active Directory.