diff -Nru MIME-tools-5.420.orig/examples/mimesend MIME-tools-5.420/examples/mimesend --- MIME-tools-5.420.orig/examples/mimesend 2004-09-07 17:09:55.000000000 +0200 +++ MIME-tools-5.420/examples/mimesend 2007-03-01 17:47:04.000000000 +0100 @@ -50,8 +50,9 @@ # Usage: @ARGV or die < ($type || type_for($path)), Path => $path, Encoding => '-SUGGEST'; + $from and $top->head->add('From', $from); $top->head->add('To', $to); $top->head->add('Subject', $subj); } @@ -122,6 +128,7 @@ # Start with top: $top = build MIME::Entity Type=>"multipart/mixed"; + $from and $top->head->add('From', $from); $top->head->add('To', $to); $top->head->add('Subject', $subj);