hi,

i'd like to send a mail after finishing a maven-nightly-build (javadoc, compiling, 
site-generating, making projectfiles for eclipse, restarting tomcat...) on a 
maven-beta8 on linux (debian woody 3 with working sendmail and postfix).

At the moment I'm using this tag:

        <mail subject="nightly-build on blabla finished"  
              mailhost="smtp-mailhost.ourcompany.de" 
              encoding="plain" >
              <to address="[EMAIL PROTECTED]"/>
              <cc address="[EMAIL PROTECTED]"/>
              <from address="[EMAIL PROTECTED]" 
                    name="Maven Information Service on Ockham"/>
              <message mimetype="/text/plain" src="mailtext.txt" name="mailtext.txt"/>
        </mail> 

At the mailtext.txt is a text included: Hello, you can find the results ...

BUT:
1) The attachment with the name: "nightly-build on blabla finished.dat" instead of 
"mailtext.txt" will be sent.
2) I don't know, how to insert into the mail just a mailtext (message like the 
<message>-tag at ant, which doesn't work) instead of attaching text-files

Why does the ant:mail target not work?
Does anyone have informations about that topic?

Thanx

Georg
 

-----------------------------------------
   _      Georg Scherzer
 _|_|_    SCHEMA GmbH
|_| |_|   Andernacher Str. 18 
          D - 90411 Nuernberg
Tel +(49)911 - 58 68 61-58
WWW <http://www.schema.de/>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to