tags:

views:

23

answers:

0

Hi

I am using

 HtmlEmail email = new HtmlEmail();

to send email in Java which is of type

   org.apache.commons.mail.HtmlEmai

I embed image in email using cid like this

 "cid:"+email.embed(new URL("image_path"));

it display images properly but also adds attachment to the email

Please tell me the solution ...