I just discovered something else :: The eml that I had as an example ha sthe screwy header hash but another email I had worked. The difference is is that the one that does not work was created by a script that alphabatizes the headers like the foreach statement below.
It seems then that the headers must remain in the same order or something else gets out of wack when they are returned alphabetically into the test file. Any ideas what formatting ( seems to happen at the Received header ) could be casuing that or One of the goals is to take an email from STDIN and make it a text/plain version only. That parts works great :: my $headers = $mail->head->header_hashref; # get the text/plain content into @body here $headers->{'Content-Type'}->[0] = "text/plain\n\tcharset=\"iso-8859-1\"\n"; # make the content-type text # this is what I need to figure out how to do :: $mail->print_header(); # print the header that has been modified and not just the original header print "\n"; print @body; That sends the new email to STDOUT to be processed by the mail server. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]