hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Johnson <sjohn...@mercury.com>
Subject RE: Is it possible to send and email using HTTPCLIENT?
Date Wed, 20 Oct 2004 14:46:10 GMT
How about FTP through an HTTP proxy?

Thanks,
Steve

Steve Johnson, Software Engineer, sjohnson@mercury.com
direct 720.564.6532 
www.mercury.com 

 
 
www.mercury.com 

-----Original Message-----
From: Gerdes, Tom [mailto:TGerdes@OldRepublicTitle.com] 
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:ROLWEBER@de.ibm.com] 
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" <TGerdes@OldRepublicTitle.com>
19.10.2004 21:10
Please respond to
"Commons HttpClient Project"


To
"Commons HttpClient Project" <commons-httpclient-dev@jakarta.apache.org>
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: 
commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: 
commons-httpclient-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message