Highlighted
s0muel Absent Member.
Absent Member.
4547 views

How get attachment byte data from mime.822 file

Hi all. Sorry for my English.
Im using gw 7.0.3 using token Api I save this file to disk. I need to get from there some attachment with such ID "cid:EQKNJKEQBWIV.Winter.jpg" (from text.html). How can I parse this file not using simply fopen, ets. for finding information?
This is a mime.822 looks like data what I want to reed.
Content-ID: <DSTCANXPERSE.Winter.jpg>
Content-Type: image/jpg
Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAgEAYABgAAD ....

Thank you for yours answers.
Labels (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.