We don't want to send the whole path, just the filename.

This commit is contained in:
edwin%woudt.nl 1999-03-03 11:01:22 +00:00
parent af18b408ec
commit 69feba9926

View File

@ -512,7 +512,7 @@ public class CompositionPanel extends GeneralPanel {
att.setText(new String(bs));
att.setHeader("Content-Type", mimeString);
att.setHeader("Content-Transfer-Encoding", encName);
att.setFileName(attachments[i]);
att.setFileName(new File(attachments[i]).getName());
att.setDisposition("Attachment");
multi.addBodyPart(att);
} catch (Exception e) {