Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 48827 invoked from network); 18 Apr 2003 14:01:10 -0000 Received: from unknown (HELO empburexch.burlington.emptoris.com) (63.111.224.162) by daedalus.apache.org with SMTP; 18 Apr 2003 14:01:10 -0000 Received: by empburexch.burlington.emptoris.com with Internet Mail Service (5.5.2653.19) id ; Fri, 18 Apr 2003 10:00:29 -0400 Message-ID: <15717BB71A5CD411A01600508BDCC2E201AFE209@empburexch.burlington.emptoris.com> From: "Ciramella, EJ" To: 'Ant Users List' Subject: RE: Mail question... Date: Fri, 18 Apr 2003 10:00:28 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C305B2.DE3579F0" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C305B2.DE3579F0 Content-Type: text/plain; charset="iso-8859-1" Now you guys are going to think I'm a tool... I swear I downloaded those jars and put them in ant/lib - I guess I was sniffing glue that day... What I'm doing is using the task to go against gnatsweb (our bug tracking tool) to find all the PR's that have been closed for a particular day. Then using the resulting file as the messagefile. Prior to putting those jars in there, the email would show up with the html as the message, looked perfect. Now, the email has this message: This message uses a character set that is not supported by the Internet Service. To view the original message content, open the attached message. If the text doesn't display correctly, save the attachment to disk, and then open it using a viewer that can display the original character set. I have the mime type set to messagemimetype="text/HTML", is this wrong? Thanks for all the patience... -----Original Message----- From: Antoine Levy-Lambert [mailto:levylambert@tiscali-dsl.de] Sent: Thursday, April 17, 2003 7:28 PM To: Ant Users List Subject: Re: Mail question... I would however agree with Erik that the message you are reporting looks like a dependency of the email task missing in ant's classpath Your warning message "failed to initialize Mime Mail" comes from this source code : if (encoding.equals(MIME) || (encoding.equals(AUTO) && !autoFound)) { try { mailer = (Mailer) Class.forName("org.apache.tools.ant.taskdefs.email.MimeMailer") .newInstance(); autoFound = true; log("Using MIME mail", Project.MSG_VERBOSE); } catch (Throwable e) { log("Failed to initialise MIME mail: "+e.getMessage(),Project.MSG_WARN); } } in org.apache.tools.ant.taskdefs.email.EmailTask.java Antoine ----- Original Message ----- From: "Ciramella, EJ" To: "'Ant Users List'" Sent: Thursday, April 17, 2003 10:35 PM Subject: RE: Mail question... > I do, and I'm not sending attachments... > > -----Original Message----- > From: Erik Hatcher [mailto:jakarta-ant@ehatchersolutions.com] > Sent: Thursday, April 17, 2003 4:33 PM > To: Ant Users List > Subject: Re: Mail question... > > > Do both of you have activation.jar and mail.jar in ANT_HOME/lib? If > you do then it should work to send MIME messages (depending on their > format, I presume). > > Erik > > > On Thursday, April 17, 2003, at 03:33 PM, Sebastien Blanc wrote: > > > HI ! > > I had the same pb when I began to use attachments; the only thing I > > could get > > to work is encoding="plain" to send ASCII files; no solution found so > > far to > > attach binary files (getting this same error msg). is this a SMTP > > server > > capability pb or ... ? > > seb. > > > > "Ciramella, EJ" wrote: > > > >> I send email using the mail task at the end of the build, but each > >> night, > >> the log has the following entry: > >> > >> [mail] Failed to initialise MIME mail > >> > >> The email goes through, any ideas as to why this happens? > >> > >> SP - initialise is spelled initialize > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > For additional commands, e-mail: user-help@ant.apache.org > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ------_=_NextPart_001_01C305B2.DE3579F0--