forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diwaker Gupta <>
Subject Re: forrestbot email notification fails
Date Tue, 27 Jul 2004 20:58:41 GMT
> Looks fine to me.  What version OS and version of Java are you using?

$ uname -a
Linux resolute 2.6.7-1-686-smp #1 SMP Thu Jul 8 06:08:37 EDT 2004 i686 GNU/Linux

Running Debian unstable

$ java -version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.1-beta)
Java HotSpot(TM) Client VM (build Blackdown-1.4.1-beta, mixed mode)

> Can you create an ant buildfile that just does a <mail> (with attachment)
> and try running that with the ant that forrest includes?  Run with -v and
> -d parameters to give extra debugging output.

Apparently this seems to work:
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="all" name="try">
    <target name="mail">
        <mail from=""
            subject="Results of nightly build"

     [mail] Failed to initialise MIME mail: javax/mail/MessagingException
     [mail] Using UU mail
     [mail] Sending email: Results of nightly build
     [mail] From
     [mail] ReplyTo []
     [mail] To []
     [mail] Cc []
     [mail] Bcc []
     [mail] Sent email with 1 attachment


After this, I ran forrestbot with -v and -d flags, and here's what I got:
Setting project property: NOW -> 27 July 01:57 PM
Override ignored for property DSTAMP
Override ignored for property TSTAMP
Override ignored for property TODAY
Property ${} has not been set
Failed to initialise MIME mail:
Using UU mail
Sending email: ForrestBot build for ${} succeeded
>From Forrestbot
ReplyTo []
To []
Cc []
Bcc []
Failed to send email

So it seems that it IS trying to use UU mail, however, it fails
because of some other reason -- in this case, I think its because the
>From address is not set properly. It should be a well formed email
address right?
Diwaker Gupta

View raw message