Browse Source

Send inline images

Fixes #49
main
M66B 6 years ago
parent
commit
f0a8803689
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/src/main/java/eu/faircode/email/MessageHelper.java

+ 2
- 0
app/src/main/java/eu/faircode/email/MessageHelper.java View File

@ -193,6 +193,8 @@ public class MessageHelper {
}
});
bpAttachment.setDataHandler(new DataHandler(dataSource));
if (attachment.cid != null)
bpAttachment.setHeader("Content-ID", attachment.cid);
multipart.addBodyPart(bpAttachment);
}


Loading…
Cancel
Save