Script to rename to EML To: address?

#1 : 08/07-25 12:12
Chris
Posts: 36
Any ideas on how to get script to extract the To address from an EML?

My first attempt:

line = app.parseTags( '<File Line:'+j+'>' )

changes the classic RFC test address:

"Giant; \"Big\" Box" <[email protected]>

to:

~Giant; ~~Big~~ Box~ [email protected]~

(due to https://i.imgur.com/pmbrD6l.png ) which apart from being inaccurate as raw output, prangs parse and decode of the name part ("Giant; \"Big\" Box").

Thanks.