login about faq

How do you extract the contacts from IMAP (Contacts folder) ? All I managed to do, was to extract the names. Here is a log (0-13 it's the header field number | field name -> field value) 0 | Subject -> Bridonn (this is the name)

1 | Date -> Sun, 28 Oct 2012 20:45:58 +0000 (GMT)

2 | Content-Type -> text/x-vcard; charset=utf-8

3 | Content-Transfer-Encoding -> 8bit

4 | ckx-imap-uid -> 560

5 | ckx-imap-isUid -> YES

6 | ckx-imap-seen -> YES

7 | ckx-imap-answered -> NO

8 | ckx-imap-deleted -> NO

9 | ckx-imap-flagged -> NO

10 | ckx-imap-draft -> NO

11 | ckx-imap-flags -> \Seen \Recent

12 | ckx-imap-totalSize -> 328

13 | ckx-imap-numAttach -> 0

I am usig

For i = 0 To bundle.MessageCount - 1

Dim email As Chilkat.Email

email = bundle.GetEmail(i)

For i3 As Integer = 0 To email.NumHeaderFields

Try

Console.WriteLine(i3 & " | " & email.GetHeaderFieldName(i3) & " -> " & email.GetHeaderFieldValue(i3))

Catch ex As Exception

End Try

Next

Next

asked Jan 30 at 08:59

spide112's gravatar image

spide112
11

edited Jan 30 at 09:02


Chilkat implements the IMAP protocol, and I think the contacts would be something outside the scope of IMAP...

link

answered Jan 31 at 14:57

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×175

Asked: Jan 30 at 08:59

Seen: 518 times

Last updated: Jan 31 at 14:57

powered by OSQA