File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Sending Attached excel file through java mail
Joined: Nov 10, 2009
Nov 12, 2009 10:21:22
Could you please help me........
I want to send attached
file through Java Mail. For Example My Excel file is located in c:\\testing folder .Could you provide coding ......
Thanks in Advance
Joined: Oct 14, 2005
Nov 12, 2009 10:40:29
Actually, JavaRanch is not here for you to ask for code. Read this for example:
However you are in luck. When you download JavaMail it comes with a folder of sample programs, including an example of how to send e-mail messages including attachments.
Joined: Mar 12, 2008
Nov 12, 2009 12:00:30
This page may help you:
Joined: Jan 12, 2009
Nov 12, 2009 23:08:29
Attaching an excel file is no different from attaching any other file in
as Paul Clapham rightfully said, check the examples that are in the sample programs
My Website: [
] Cool your mind:[
] My Sally:[
I agree. Here's the link:
subject: Sending Attached excel file through java mail
Java Mail + ZipOutputStream + XML file
Text file xls to Binary format xls in Java.
Problem in Arrays passing.
how to insert a file object in excel sheet using java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014