File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes How to send a file as an email attachment. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How to send a file as an email attachment." Watch "How to send a file as an email attachment." New topic
Author

How to send a file as an email attachment.

Hema Turupu
Greenhorn

Joined: Nov 11, 2011
Posts: 2
Hi

How do I send a file that is uploaded in a registration form in the website by users to my email as an attachment. The below is my code. Please advice.


=============



==========

Many Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61610
    
  67

Use the JavaMail API.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 498

This may be of help:

How to send e-mail with attachment using JavaMail API


PM Me If You Want to get Urgent Help on Java Programming
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to send a file as an email attachment.