• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1368
  • Last Modified:

automatically add incoming email address to contacts address book in outlook

is it possible to automatically add incoming email address to contacts address book in outlook?
1 Solution
* It is not possible to automatically add email address of every incoming email into your OAB, at least not with some settings in Outlook.
* You will have to add the new contacts manually.
* To add a person who sends you e-mail to your Personal Address Book, complete the following steps:
   1. Open the message that was sent to you.
   2. Highlight the person's name on the From line.
   3. Right click on the highlighted name.
   4. Choose Add to Personal Address Book.
However if you want it to be done automatically then you'd need to spend a bit in buying this add-in


Hope this helps

u can add addresses to which you reply.

Here's a link describing it and also some add ons which might do what u want .

Just clicking on some of those links and this one sounds like it will do just what you want and more.

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

David LeeCommented:
Hi, JParraa72.

It is possible to add email addresses of every incoming email to contacts with a script liek the one below int he snippet.  Follow these instructions to use this script.

1.  Start Outlook
2.  Click Tools > Macro > Visual Basic Editor
3.  If not already expanded, expand Microsoft Office Outlook Objects and click on Module1
4.  Copy the code from the Code Snippet box and paste it into the right-hand pane of Outlook's VB Editor window
5.  Edit the code as needed.  I included comments wherever something needs to or can change
6.  Click the diskette icon on the toolbar to save the changes
7.  Close the VB Editor
8.  Create a rule that fires for all messages (i.e. a rule with no condition)
9.  Set the rule's action to "run a script" and select this script as the one to run
Sub AutoAddContact(Item As MailItem)
    Dim olkContacts As MAPIFolder, _
        olkContact As ContactItem, _
        olkReply As MailItem, _
        olkRecip As Recipient, _
        strAddress As String
    Set olkContacts = Outlook.Application.Session.GetDefaultFolder(olFolderContacts)
    Set olkContact = olkContacts.Items.Find("[FullName] = '" & Item.SenderName & "'")
    If TypeName(olkContact) = "Nothing" Then
        Set olkContact = Outlook.Application.CreateItem(olContactItem)
        Set olkReply = Item.Reply
        Set olkRecip = olkReply.Recipients.Item(1)
        If Err = 0 Then
            strAddress = olkRecip.Address
            If strAddress = "" Then
                strAddress = olkRecip.Name
            End If
        End If
        With olkContact
            .Email1Address = strAddress
            .FullName = Item.SenderName
            'Feel free to remove the next line'
            .Body = "Record created automatically on " & Date & " at " & Time & " by BlueDevilFan's script."
        End With
    End If
    Set olkContact = Nothing
    Set olkContacts = Nothing
    Set olkReply = Nothing
    Set olkRecip = Nothing
End Sub

Open in new window

JParra72Author Commented:
David LeeCommented:
You're welcome.

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now