-
Hi dangndq,
here is a VB-code-snip from the MSDN-Library for dealing with CDO:
' get PAB AddressList from AddressLists collection of Session
Dim myList As AddressList ' used to obtain PAB
Dim newEntry As AddressEntry ' new user in PAB
Dim newField As Field ' fax number of new user
' assume objSession created and logged on to without problem
Set myList =...
2009-09-22 10:12:06 UTC in j-XChange: MSExchange Unbounded !
-
Hi Vikram,
I have actually no native CDO client. But I did some improvements and now it only takes 4 seconds to gather all information that i need from an e-mail. This was done by read the JXCdoFields collection only once and buffer all needed information rather than read that collection for all properties again and again.
Oh, is Outlook a native CDO client?
Best Regards,
Alex.
2009-09-08 09:07:25 UTC in j-XChange: MSExchange Unbounded !
-
Hi,
as I now have finished my programming task I'm facing a speed problem: it almost takes 1 minute to access all the information of an e-mail I need (i. e. sender, recipients, subject, body, transport messsage header, attachments and some other).
Is this problem due to CDO or are there some tweaks I can do to J-Xchange? I have actually wrapped some of the JXCdoXXX classes in new XXX...
2009-09-03 18:02:16 UTC in j-XChange: MSExchange Unbounded !
-
Hi Dalia,
the sender of a JXCdoMessage is a JXCdoAddressEntry object, from which you get the address as a string with addressEntry.GetAddress().getObjectAsString2().
As a message can have more than one recipient the method GetRecipients() will give you a recipients collection as you already written in your post.
To access each recipient you should iterate over this collection...
2009-07-08 09:04:17 UTC in j-XChange: MSExchange Unbounded !
-
Hello,
I've just tested three messages for their TimeCreated and TimeLastModified properties. When I for example move a message to another folder the time of the last modification will be of course set, but the time of the creation is also set to this date. That simply doesn't make sense.
Does anyone know why this happens?
Regards,
Alex.
2009-07-06 08:10:52 UTC in j-XChange: MSExchange Unbounded !
-
Hi Sasikumar,
have you already run JXCdoFolder1_Test.java that is shipped with the library?
If you provide the right credentials it should write you something like the
structure of that mailbox. For me in Germany it looks like that:
+----[[[Type: 1 , [Top of Information Store]]]]
| +----[[[Type: 1 , [Aufgaben]]]]
| +----[[[Type: 1 , [Entwürfe]]]]
| +----[[[Type: 1 ...
2009-06-12 13:28:16 UTC in j-XChange: MSExchange Unbounded !
-
Hi Sebastian,
I can't help you with Zarafa but the difference between machinecred and logoncred is that the former are used to establish a connection to a server (where the exchange server resides). The username is just a user on this server. He or She doesn't need necessarily to have an exchange account. The Logoncred are used to get access over a exchange mailbox, most probably your own. So...
2009-06-12 13:15:54 UTC in j-XChange: MSExchange Unbounded !
-
I was wrong: Messages already uses me.get(..) in the Item(..) method.
What I meant was: Attachments and Recipients does not use it.
The other collections Item(..) methods:
InfoStores uses me.get()
Folders uses me.get()
Fields uses me.get()
AddressEntries uses me.get()
AddressLists uses me.get()
So actually only Recipients and Attachments should be bugfixed.
2009-05-08 07:05:22 UTC in j-XChange: MSExchange Unbounded !
-
Calling the method Item() on the collections Messages and Recipients will cause an Exception:
org.jxchange.client.cdo121.JXCdoException: Exception occurred. [0x80020009]
at org.jxchange.client.cdo121.JXCdoRecipients.Item(JXCdoRecipients.java:167)
at org.jxchange.client.tests.JXCdoMyOwn_Test.checkRecipients(JXCdoMyOwn_Test.java:180)
at...
2009-05-08 06:38:58 UTC in j-XChange: MSExchange Unbounded !
-
> This was a wild guess based on my examination of the JXCdoMessages.Item()
> method, which I know works... it uses a 'me.get' call rather than a 'me.callMethodA' call.
It seems as if this also applies to the JXCdoRecipients.Item() method. The code from svn
failed for my tests, but after I changed it likewise it worked.
2009-05-07 15:19:51 UTC in j-XChange: MSExchange Unbounded !