We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bee818 commit 5727f43Copy full SHA for 5727f43
src/main/java/org/simplejavamail/converter/internal/mimemessage/MimeMessageHelper.java
@@ -236,7 +236,7 @@ private static BodyPart getBodyPartFromDatasource(final AttachmentResource attac
236
final String contentType = attachmentResource.getDataSource().getContentType();
237
attachmentPart.setHeader("Content-Type", contentType + "; filename=" + fileName + "; name=" + resourceName);
238
attachmentPart.setHeader("Content-ID", format("<%s>", resourceName));
239
- attachmentPart.setDisposition(dispositionType + "; size=0");
+ attachmentPart.setDisposition(dispositionType);
240
return attachmentPart;
241
}
242
0 commit comments