Skip to content

Commit 5727f43

Browse files
committed
#103: removed size=0 hack (why was it in there in the first place??)
1 parent 4bee818 commit 5727f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/main/java/org/simplejavamail/converter/internal/mimemessage/MimeMessageHelper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ private static BodyPart getBodyPartFromDatasource(final AttachmentResource attac
236236
final String contentType = attachmentResource.getDataSource().getContentType();
237237
attachmentPart.setHeader("Content-Type", contentType + "; filename=" + fileName + "; name=" + resourceName);
238238
attachmentPart.setHeader("Content-ID", format("<%s>", resourceName));
239-
attachmentPart.setDisposition(dispositionType + "; size=0");
239+
attachmentPart.setDisposition(dispositionType);
240240
return attachmentPart;
241241
}
242242

0 commit comments

Comments
 (0)