Hello Tom,

no it is not. Protocols for transferring EMail are SMTP or IMAP.
HttpClient implements HTTP.

Browsers do lots more than just HTTP, that's why most of them
chose to implement mailing functionality as well. But HttpClient
is intentionally focused on HTTP alone, which is tricky enough.

There is a standard Java API for sending EMail in J2EE:
http://java.sun.com/products/javamail/
You can probably get it running with J2SE as well.
It includes support for multipart mail:
http://java.sun.com/j2ee/1.4/docs/api/javax/mail/package-tree.html
http://java.sun.com/j2ee/1.4/docs/api/javax/mail/Multipart.html

hope that helps,
  Roland






"Gerdes, Tom" <[EMAIL PROTECTED]> 
19.10.2004 21:10
Please respond to
"Commons HttpClient Project"


To
"Commons HttpClient Project" <[EMAIL PROTECTED]>
cc

Subject
Is it possible to send and email using HTTPCLIENT?






Can I just send a multipart post to an email server with attached files
using Httpclient?  Would this work for an email?  If so, does anyone
have an example of doing this?

---------------------------------------------------------------------
To unsubscribe, e-mail: 
[EMAIL PROTECTED]
For additional commands, e-mail: 
[EMAIL PROTECTED]


Reply via email to