Thanks but that gives me the whole INPUTMSG. I'm just looking for the
text body without anything else.
On 3/10/2015 3:39 PM, Joseph Brennan wrote:
What is the easiest way to extract a copy of the text body of a message
(INPUTMSG) into a variable?
Just this I think (not tested)
if (open(IN, '<', './INPUTMSG')) {
while (<IN>) {
# stuff it into a variable?
}
close(IN);
But this could be many megabytes in size, so I question whether putting
it into a variable is a good solution for what you want to do.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang