Creating Contacts From Incoming Emails (USD $20.00)

  • Required to scanning thousands of email in Outlook inbox and the subfolders. From each email to retrieve the sender details and add into the contact list (only out of corporate senders).
    For those senders who have auto signature , need to extract the data as phone# , company , e.t.s into relevant contact fields. The purpose is to have a contact list with full contacts data.
    Once all this done , the script should run in background for all new incoming emails.
    I want to get a VB code as well.


    Thanks

  • Re: Creating Contacts From Incoming Emails (USD $20.00)


    Unfortunately there no common pattern, the purpose is to have some code based on reg.exp. Something similar to algorithm of business card scanning applications.

  • Re: Creating Contacts From Incoming Emails (USD $20.00)


    The only issue could be is to extract sender title, but I don't see a problem to extract the below :
    1. Company name - could be extracted from the sender email.
    2. Sender name first and last - could be extracted from the sender email.
    3. Sender email - could be extracted from the sender email.
    4. Phone number - could be extracted from the email body.
    5. Company website - could be extracted from the email body.

  • Re: Creating Contacts From Incoming Emails (USD $20.00)


    You might not see a problem, but there absolutely are some:


    Quote

    1. Company name - could be extracted from the sender email.


    example: [email protected]


    is the company name:


    a) "the macro man"
    b) "the mac roman"
    c) "them acro man"
    d) "themac roman"


    Quote

    2. Sender name first and last - could be extracted from the sender email.


    example: [email protected]


    some companies use mailboxes, not individual mail addresses.


    Quote

    4. Phone number - could be extracted from the email body.


    example:


    Tel: +44(0)7894 561 231
    Tel: +44(0)1298 546 211
    Fax: +44(0)1298 456 201


    which one do you use? or even more of a problem in the email body is says something like:


    "...
    ... you can get hold of him on 07894561230 ...
    ..."


    and then more numbers in the signature. Again, which one do you use? How does the code know this?

  • Re: Creating Contacts From Incoming Emails (USD $20.00)


    What he said!


    Anyway, probably not going to able to do this for you. Especially not in VBA using outlook because of the security rules. However, here's a quick attempt I made:



    It kinda works, but also kinda doesn't. give it a shot to see what I mean. Maybe somebody else can build on it, but I'm out. Sorry.


    trunten

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!