Multiple File Import

Hi All,

I want to import multiple files into the body part of the mail. So i am using lgimport sample program of C API. I re-write lgimport sample program so that it can import multiple files of various types.

Suppose i want to import two html files and a jpeg file. i.e. I have the following files temp1.html,temp2.html and mango.jpg.

I am trying to import the above files one by one. But it will not import the jpeg file correcly. It will treat it as html file and show that jpeg file as binary.

I am setting every argument correctly. But its not checking the file type. I don’t know what is wrong with it. Is there any solution for it.

Or Is there any way to import multiple files(various types) into the Body Part. I need only C sample code. bcz i am writing a module for a server.

Thanks in advance

Maju