Hello,
I want to import emails provided as .eml to openkm. When I do this manually (i. e. clicking on import in the ui) it works fine and converts the mail nicely.
However, then I tried to upload using webdav and no conversion takes place. Now I want to try import using php, but I dont know how to use webservices for this. With openkm 5 is already managed importing documents.But the mail service does not allow using a file for import. The API speaks about a mail object, but the doc is a bit short on it. How do I create it from an .eml file? Can anyone provide a code snippet with the essentials?
Best regards
I want to import emails provided as .eml to openkm. When I do this manually (i. e. clicking on import in the ui) it works fine and converts the mail nicely.
However, then I tried to upload using webdav and no conversion takes place. Now I want to try import using php, but I dont know how to use webservices for this. With openkm 5 is already managed importing documents.But the mail service does not allow using a file for import. The API speaks about a mail object, but the doc is a bit short on it. How do I create it from an .eml file? Can anyone provide a code snippet with the essentials?
Best regards