I need to write a single function which will take multiple eml files ( may be from a single filesystem folder ) and convert them to a single PST file.
Is it possibl
You can use Redemption for that. Something along the lines:
set Session = CreateObject("Redemption.RDOSession")
Session.LogonPstStore("c:\temp\test.pst")
set Folder = Session.GetDefaultFolder(olFolderInbox)
set Msg = Folder.Items.Add("IPM.Note")
Msg.Sent = true
Msg.Import("c:\temp\test.eml", 1024)
Msg.Save