dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: generating text file and sending that file as mail attachment

  1. #1
    Join Date
    May 2007
    Posts
    1

    generating text file and sending that file as mail attachment

    I want to generate a text file through JAVA.I need to write resultset data into that text file.Then I want to attach that file as mail attachment?

    CAn anybody provide code for this task?

  2. #2
    Join Date
    May 2007
    Location
    Dell Rapids, SD
    Posts
    4
    Look into Java's FileWriter class

Similar Threads

  1. Replies: 2
    Last Post: 01-06-2007, 03:17 AM
  2. Sending mail with image problem
    By vikassheelgupta in forum Java
    Replies: 0
    Last Post: 01-06-2006, 02:12 AM
  3. Reading and writing lines from a text file...
    By Jenks in forum VB Classic
    Replies: 6
    Last Post: 05-24-2005, 02:22 PM
  4. Sending Mail using SMTP
    By Philip in forum .NET
    Replies: 2
    Last Post: 07-31-2002, 09:20 PM
  5. Sending a file as an attachment with a servlet?
    By Christer Nordvik in forum Java
    Replies: 0
    Last Post: 06-17-2002, 06:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center