Nachdem ich damit die Boundary schließe, stimmt das mit den zwei "--" am Ende schon:
" The boundary delimiter line following the last body part is a
distinguished delimiter that indicates that no further body parts
will follow. Such a delimiter line is identical to the previous
delimiter lines, with the addition of two more hyphens after the
boundary parameter value."
Im Fall des letzten Delimiters ist das offenbar richtig.
Da kann ich nur noch fragen, ob du auch mit
use MIME::QuotedPrint;
$encoded = encode_qp($decoded);
$decoded = decode_qp($encoded);
Die entsprechenden Teile auch encoded hast.
Es sieht eben so aus, als ob kein Encoding auf dem Server statt gefunden hat. In deinem Quelltext finde ich auch nichts dergleichen.
mfg Beat