I have generated the mail usng JAVA mail , I need to add the excel in the mail body. The excel contain th links and colors for some columns. How to do this using java API / JAVA mail API ?
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35258
7
posted
0
You would send the file as an attachment, and then you would need an email client that displays such attachments as it was part of the mail. I'm not aware of such an email client, though.
These days, Outlook has one tab for the email body itself and one for each attachment. If you display such a tab it tries to show the attachment if possible. It definitely has Excel support.
Huh, that's interesting. I've just started using Outlook again for the first time in 10 years, but haven't seen any Excel previews so far. I'm guessing there's an option somewhere to turn that off. And it probably depends on Excel being installed.
(But having lived through the days when previewing a mail in Outlook would cause any attached scripts to be executed without user confirmation, I'm hesitant to preview anything in a piece of software coming from Redmond.)