This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Sending multipart message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Sending multipart message" Watch "Sending multipart message" New topic
Author

Sending multipart message

carl jensen
Greenhorn

Joined: Nov 08, 2000
Posts: 11
Can I create and send a multipart message with a servlet. I have looked throught the O'Reilly Servlets book and see how to receive and process a message, but nothing about creating one. Specifically, I'd like to create and send the multipart message with one servlet and process it with another.
Thanks!
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

You can certainly write your own http requests, and here is a thread that will give you what it should look like:
http://www.coderanch.com/t/353686/Servlets/java/Uploading-file-server-oreilly-MultiPartRequest
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sending multipart message
 
Similar Threads
java.io.FileNotFoundException
How to send mail to more than one recipients
JavaMail:Why can't a recipient using Lotus Notes see the attachment of my mail
Upload files from client
Sending Mail via socket - attachments?