how to use javamail to add an excel file in mail body

241 views Asked by At

i know how to add an excel file in mail attachment, but now i want to add an excel file in mail body. it didn't need show content of excel file in mail body.Just Showing an icon is okay, when the reciever clicks the icon , MS office can handle it.

1

There are 1 answers

2
Bill Shannon On

The main body should be html with a link to the excel file, which is stored on your website somewhere.