• Post Reply Bookmark Topic Watch Topic
  • New Topic

Outlook ics attachment in Javamail

 
Girish CH
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm using java mail for sending outlook attachment (.ics) file. In the description, I'm adding a variable with URL. But in URL, when it encounter assignment operator followed by integer, the attachment shows some special character.
Please help me if anyone has any idea on this
 
Girish CH
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN\n"+
"VERSION:2.0\n"+
"METHOD UBLISH\n"+
"BEGIN:VEVENT\n"+
"DTSTART:"+startDate+"\n"+
"DTEND:"+endDate+"\n"+
"LOCATION;ENCODING=QUOTED-PRINTABLE:"+location+"\n"+
"UID:001\n"+
"DESCRIPTION;ENCODING=QUOTED-PRINTABLE:"+tempDescription+"=0D=0A\n"+
"SUMMARY;ENCODING=QUOTED-PRINTABLE:"+title+"\n"+
"PRIORITY:1\n"+
"DTSTAMP:"+currentTime+"\n"+
"BEGIN:VALARM\n"+
"TRIGGERT15M\n"+
"ACTION ISPLAY\n"+
"DESCRIPTION:Reminder\n"+
"END:VALARM\n"+
"END:VEVENT\n"+
"END:VCALENDAR\n");


in code tempDescription contains description with an URL. this is not printing properly.
The URL has: http://www.abc.com?sem_id=11234&aaa=abs
the problem is occuring near sem_id.
 
Rob Spoor
Sheriff
Posts: 20821
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Girish CH",

Please read your private messages regarding an important announcement.

Thank you,

Rob
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!