hi, o.k. I see.
For all just for information (how's interested): 1) I removed: mimetype="text/plain" and so the message wasn't an attachment anymore but included into the mail (that's what I want) 2) I added the <fileset.../>. I don't know, why it does not work without this tag. In my opinion it is twice then... anyway. Thanks a lot:-) Georg > -----Urspr�ngliche Nachricht----- > Von: Thomas Tatzel [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 24. M�rz 2003 12:49 > An: Maven Users List > Betreff: Re: problems formatting mail > > > hey Georg, > > I use the following goal to send mails with attachements: > > <goal name="send-report"> > <mail subject="nightly-build on BORA finished" > mailhost="localhost" mailport="25" > encoding="text/plain" > > <from address="[EMAIL PROTECTED]" > name="Maven > Information Service on Linux Test Env."/> > <to address="[EMAIL PROTECTED]" > name="Thomas > Tatzel" /> > <message mimetype="text/plain" > src="maven-nightly-build.log" /> > <fileset dir="."> > <include > name="maven-nightly-build.log" /> > </fileset> > > </mail> > </goal> > > > Kind Regards, > Thomas Tatzel > > Deutsche Bank AG > PCAM GT Distribution Systems > Business & Program Management > Branch Systems - Applications Development > Alfred-Herrhausen-Allee 16-24 > D-65760 Eschborn > > tel: +49 (69) 910-66 313 > fax: +49 (69) 910-62 028 > > > > > "Scherzer, Georg" <[EMAIL PROTECTED]> > 14.03.03 12:00 > Please respond to "Turbine Maven Users List" > > > To: "Turbine-Maven-User (E-Mail)" > <[EMAIL PROTECTED]> > cc: > Subject: problems formatting mail > > > 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] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
