From the documentation:
Mail::Internet->new([ARG], [OPTIONS]) ARG is optional and may be either a file descriptor (reference to +a GLOB) or a reference to an array. If given the new object will be i +nitialized with headers and body either from the array of read from t +he file descriptor.
Under the assumption that your file is in the right format you could construct a file descriptor to the file and pass that into the constructor.
In reply to Re^3: using arguments
by dHarry
in thread using arguments
by Bass-Fighter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |