Closed mooijtech closed 2 years ago
It only returns the headers:
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-WatchGuard-AntiVirus: part scanned. clean action=allow
Fixed it by
fields := mr.Header.Fields()
for fields.Next() {
log.Printf("Field: %s\n", fields.Key())
}
Thanks for this awesome library.
I'm working on software (SaaS) which presents and analyzes digital evidence to be presented in court. I'm starting with emails so I've implemented the PST file format specification in Golang: https://github.com/mooijtech/go-pst Now I will add EML support thanks to you!
I have this EML file, which I hope you don't mind me pasting here (it's from DNC leaks):
But my code doesn't seem to pick up the starting headers:
What am I doing wrong?
Kind regards, Marten Mooij