Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Users

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-20-2007, 11:19 AM
Intermediate Member
 
Posts: 21
Default vCard - vcf attachments

I am using Zimbra 4.01 Open Source/Fedora 4.

When vCards are mailed to us in attachments we can see the attachment and have the option of Add to Address Book. When we click on this option nothing happens, if we try repeatedly the browser will hang.

I would like to both be able to import and export vCards but I can not find out how. Does anyone have a fix to this bug and can someone point me to instructions on how to export vCards?

We will be upgrading to Zimbra 4.5/Fedora 5 in the near future, will this solve the problem?
Reply With Quote
  #2 (permalink)  
Old 02-20-2007, 12:35 PM
Zimbra Employee
 
Posts: 269
Default Need more info.

Quote:
Originally Posted by Regger View Post
I am using Zimbra 4.01 Open Source/Fedora 4.

When vCards are mailed to us in attachments we can see the attachment and have the option of Add to Address Book. When we click on this option nothing happens, if we try repeatedly the browser will hang.
Hmm. This should work. Lets get more info.:

1. append "?debug=1&gzip=false&mode=mjsf" to the URL after you have logged in and reload the client.
2. Once you see the debug window popup, open the conversation containing the vcard.
3. Clear the contents of the debug window (click on the Clear button)
4. click on "Add to Address Book" link
5. Check whether there was a "CreateContactRequest" SOAP request sent out and a corresponding response back from the server. Or did the server return back an error?

You can copy all contents in the debug windw and post it as an attachment here if you like.

Thx.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 02-22-2007, 12:50 PM
Intermediate Member
 
Posts: 21
Default Debug Information

Thank you for your response. I ran the debug program as stated above. I cleared the debug window before I opened the attachment. Opening the attachment yields a new window with the vCard and the Add to Address Book option. Clicking on the Add to Address Book yields no response from the debugger, no CreateContactRequest is generated. Below is the results from the debugger.



Body: {
GetMsgResponse: {
_jsns: "urn:zimbraMail",
m: [
0: {
fr: "Attached is Joe Tester",
id: "39556",
mid: "<9680112.2391172177023343.JavaMail.root@coconut>" ,
mp: [
0: {
ct: "multipart/mixed",
mp: [
0: {
body: true,
cd: "attachment",
content: "BEGIN:VCARD
VERSION:3.0
FN:Joe Tester
N:Tester;Joe;;;
EMAIL:joe@test.com
TITLE:Tester
ORG:Test Inc
END:VCARD",
ct: "text/x-vcard",
filename: "Joe Tester.vcf",
part: "2.2.2.1"
}
],
part: "2.2.2.TEXT"
}
],
part: "2.2.2",
s: -1
}
]
}
},
Header: {
context: {
_jsns: "urn:zimbra",
change: {
token: 43293
},
sessionId: [
0: {
_content: "513",
id: "513"
}
]
}
},
_jsns: "urn:zimbraSoap"
Reply With Quote
  #4 (permalink)  
Old 02-22-2007, 01:08 PM
Zimbra Employee
 
Posts: 269
Default

The message parts look fine. Can you post the original message headers of the message so we can debug internally?
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #5 (permalink)  
Old 02-22-2007, 03:26 PM
Intermediate Member
 
Posts: 21
Default Message Headers

Message header
--------
Subject:
Test vCard
Sent By:
h@k.com On: Tuesday, February 20, 2007 8:30:48 AM
To:
Cc:
Reply To:
Attachments:
Unknown <text/rtf> (download)

Unknown <message/rfc822>
--------
This is the test message we are using. We send from Outlook and receive in Ajax.
Reply With Quote
  #6 (permalink)  
Old 02-22-2007, 03:40 PM
Zimbra Employee
 
Posts: 1,434
Default "Show Original"

If you have a simple sample message that causes this behavior but doesn't contain sensitive data, can you do the following?

Right-click on the message in the message list. Select "Show Original". (A new window should pop up.) Save that new window's content to a file (File menu > Save As). Post that message to this forum using the "Manage Attachments" button in the Additional Options section of the forum post page.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #7 (permalink)  
Old 02-22-2007, 03:49 PM
Intermediate Member
 
Posts: 21
Default Message Test File

Please see attachment
Reply With Quote
  #8 (permalink)  
Old 02-22-2007, 03:52 PM
Intermediate Member
 
Posts: 21
Default Second Try

Second Try with the attachement
Attached Files
File Type: txt vCardTestFile.txt (13.5 KB, 145 views)
Reply With Quote
  #9 (permalink)  
Old 02-22-2007, 04:05 PM
Zimbra Employee
 
Posts: 1,434
Default Not a vCard

Code:
Content-Type: application/ms-tnef;
	name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="winmail.dat"
It's actually a TNEF file that contains a vCard. You have to double-click on the expanded "message" and then you can see the embedded vCard attachment.

Parag, is there any chance that "Add to Address Book" doesn't work in the "attached message" popup window?
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!

Last edited by dkarp; 02-22-2007 at 04:08 PM..
Reply With Quote
  #10 (permalink)  
Old 02-22-2007, 05:32 PM
Zimbra Employee
 
Posts: 269
Default Ahh!

That bit of information would've been nice to know

Yes, "Add to Address Book" in a new window is busted. I created a new bug for this: Bug 14930.

Regger, you can add yourself to the CC list to keep track of this bug. Hopefully, we'll have a fix for this soon!

Thanks for the post.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.