Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File fileBase = new File(FilePath);
- byte[] bytes = new byte[(int) fileBase.length()];
- EmailAttachments emailAttachments = new EmailAttachments();
- emailAttachments.setBase64(base64);
- emailAttachments.setFileType("XLS");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement