Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 77487 invoked by uid 500); 3 Oct 2001 07:30:01 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 77444 invoked from network); 3 Oct 2001 07:30:00 -0000 To: ant-user@jakarta.apache.org Subject: Re: JAVAMAIL problem Message-ID: <1002094209.3bbabe814ce4a@frominfra.canoo.com> Date: Wed, 03 Oct 2001 09:30:09 +0200 (CEST) From: detlef.brendle@canoo.com References: <355ACE33C543D7489C3A286647574F8207D217@slider.cactus.ca> <007101c14b69$24dc6f40$6501a8c0@GILAMONSTER> In-Reply-To: <007101c14b69$24dc6f40$6501a8c0@GILAMONSTER> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.4 X-Originating-IP: 192.168.0.3 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I tried to send a zip-file with the mimetype "application/zip" and Javamail or Jaf caused a mimetype exception. the zip file isnt too big (about 500k) so size shouldnt be an issue. detlef Quoting Erik Hatcher : > Phil, > > I just tried a modified (for my environment) version of your example > using > Ant 1.4: > > > > message="message" > tolist="jakarta-ant@ehatchersolutions.com" > subject="subject" > from="jakarta-ant@ehatchersolutions.com" > mailhost="mymailserver"> > > > > > messageFile="test.html" > tolist="jakarta-ant@ehatchersolutions.com" > subject="subject" > from="jakarta-ant@ehatchersolutions.com" > mailhost="mymailserver"> > > > > > and it all worked fine. Here are the results: > > Buildfile: build.xml > > testmail: > [mimemail] sending email > [mimemail] sending email > > BUILD SUCCESSFUL > > Total time: 4 seconds > > Is there anything special about the file you are attempting to send? > Is it > large? It could be an issue with the JAF relating to your environment > perhaps. Let me know if you have any other clues to help resolve this. > > Erik > > > ----- Original Message ----- > From: > To: > Sent: Tuesday, October 02, 2001 8:17 AM > Subject: RE: JAVAMAIL problem > > > > I tried specifiying the mail host and it didn't help :( > > > > It works with text/plain but not text/html... I have no clue what the > html > > part changes but it's enough so that the socket gets closed... > > > > Here is the result with -debug > > >