Hello Steve,

it is possible to create HTTP tunnels for other protocols with
the 3.0 API, but you will still have to implement the protocol
to be tunnelled. See

http://issues.apache.org/bugzilla/show_bug.cgi?id=28151

cheers,
  Roland




Steve Johnson <[EMAIL PROTECTED]> 
20.10.2004 16:46
Please respond to
"Commons HttpClient Project"


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

Subject
RE: Is it possible to send and email using HTTPCLIENT?






How about FTP through an HTTP proxy?

Thanks,
Steve

Steve Johnson, Software Engineer, [EMAIL PROTECTED]
direct 720.564.6532 
www.mercury.com 

 
 
www.mercury.com 

-----Original Message-----
From: Gerdes, Tom [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 20, 2004 8:08 AM
To: Commons HttpClient Project
Subject: RE: Is it possible to send and email using HTTPCLIENT?

Thanks! 

-----Original Message-----
From: Roland Weber [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 20, 2004 1:03 AM
To: Commons HttpClient Project
Subject: Re: Is it possible to send and email using HTTPCLIENT?

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]



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

Reply via email to