prefer Mailbox/EmailAddress to Contact/EmailAddresses
Brought to you by:
mguessan
Davmail appears to parse only Contact/EmailAddresses when searching for email addresses in response to LDAP requests. My company's Exchange server replies only with non-SMTP addresses in that section. I could see the SMTP address in the text of the Mailbox/EmailAddress tag. I changed the code to prefer the latter, but this only works when searching for email addresses.
I did not write a test case demonstrating my change. I did not try saving a contact into Exchange.
the patch to prefer Mailbox/EmailAddress
debug messages before the functional change
debug messages after the functional change
a formatted EWS response
Does this patch apply to general use?
Ping.
Answer from mguessan: bytes=32 time<1ms TTL=64
;-)
Merge in progress, need some more tests
Thanks.
Fix available in subversion
I just tried your change and it worked. Thanks.