Return-Path: Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@www.apache.org Received: (qmail 3193 invoked from network); 21 Oct 2004 18:07:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Oct 2004 18:07:23 -0000 Received: (qmail 44814 invoked by uid 500); 21 Oct 2004 18:07:07 -0000 Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@jakarta.apache.org Received: (qmail 44742 invoked by uid 500); 21 Oct 2004 18:07:06 -0000 Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Commons HttpClient Project" Reply-To: "Commons HttpClient Project" Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 81730 invoked by uid 99); 20 Oct 2004 14:48:33 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_40_50,HTML_MESSAGE,MIME_HTML_NO_CHARSET X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) X-VirusChecked: Checked X-Env-Sender: sjohnson@mercury.com X-Msg-Ref: server-2.tower-109.messagelabs.com!1098283708!287330!1 X-StarScan-Version: 5.4.2; banners=-,-,- X-Originating-IP: [64.242.155.19] Message-ID: From: Steve Johnson To: "'Commons HttpClient Project'" Subject: RE: Is it possible to send and email using HTTPCLIENT? Date: Wed, 20 Oct 2004 07:46:10 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4B6B3.74ACB6B6" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C4B6B3.74ACB6B6 Content-Type: text/plain 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" 19.10.2004 21:10 Please respond to "Commons HttpClient Project" To "Commons HttpClient Project" 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 ------_=_NextPart_001_01C4B6B3.74ACB6B6--