.eml-files

Just starting out? Need help? Post your questions and find answers here.
artnat
User
User
Posts: 12
Joined: Sun Nov 10, 2024 3:34 pm

.eml-files

Post by artnat »

I have thousands of .eml-files in my e-mail archive. I want to parse single eml-files and I would like to apply some of the purebasic mail functions:

CreateMail
FreeMail
GetMailAttribute
GetMailBody
IsMail

I don't know how to address the eml-files with those functions. Is there a possibility?
User avatar
NicTheQuick
Addict
Addict
Posts: 1503
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: .eml-files

Post by NicTheQuick »

There are already a few implementations in other programming languages to read EML files. I also did this years ago in Python but I don't have the code anymore because it is company owned and I do not work there anymore.
However maybe you can extract something from this Stackoverflow post and convert it to Purebasic: https://stackoverflow.com/a/31392574
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
Post Reply