use of relative path of images in javamail
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sujay_Patil
Posted On:   Monday, May 16, 2005 07:53 AM

i sending HTML content mail form java mail. it may contain some images. and images may or may not have relative path or absolute path. if i use absolute path then it send mail properly. bt in case of relative path it gives error as file not found.
in my program i first manipulate the containt of HTML file to send. and re-place the SCR path of the images to sent and keep track of the CID assign to it. while sending it , containt-id for that perticular image is set and image is send.
so please help me in sending the relative path for images. also how can i programatically check that the image path is relative or absolute.
thanks in advance.

About | Sitemap | Contact