0
I am using following java code to send email ticket which is Html code in a mail body and also sending same ticket as attachment a html file. but some extra lines coming in the body for email clients other than Microsoft outlook like g mail etc,Here is the code,
HtmlEmail service = new HtmlEmail();
//getting body as Html content
String `strBodyText` = getSpotTicketContent(bobTicketVO,strBhLogoCid);
FileWriter fw = new FileWriter(file.getAbsoluteFile());
BufferedWriter bw = new BufferedWriter(fw);
bw.write(strBodyText);
bw.close();
URL filePath = new URL("file:///"+file.getPath());
service.attach(filePath, ""+orderType+""+dealID+".html""Baydonhill Order Ticket");
service.send();
모든 일이 잘 부착과 몸은 ------ = _ Part_8_20713850.1361775519720--로 몸을 앞으로 한 추가 라인을 제외하고 제대로 나오는 것 같다추가 라인은
나는 1.4 enter code here