Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vCard doesn't shows the picture

Status
Not open for further replies.

tiger311

Programmer
Sep 22, 2011
3
DE
Hello,
I try to generate an Outlook vCard from my java applicaton.
Everything works fine but the picture doesn't wants to appear on my Outlook vCard.
I tried with the this code, but without any success:

String vCard = "BEGIN:VCARD\n"
+ "VERSION:2.1\n"
+ "N:" + name + "\n"
+ "FN:" + firstname + "\n"
+ "TEL;WORK;VOICE:" + phonenumber + "\n"
+ "ADR;WORK:;" + address + "\n"
+ "EMAIL;PREF;INTERNET:" + email + "\n"
+ "PHOTO;VALUE=uri: + "END:VCARD\n";

Can somebody tell me what I'm doing wrong?
May the Outlook 2003 can't show any picture what was generiert from java?

Please advise me...
Thank you in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top