wood burning stoves 2.0*
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: 60780
    
  65

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.
 
Similar Threads
Issue with MultipartFormDataRequest
JSP that converts office extensions to pdf and then upload them
Problem while uploading an image using UploadBean
Problem with MultipartFormDataRequest
Upload form problem