You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Steve Loughran <st...@apache.org> on 2006/10/24 10:42:11 UTC

Re: mimemail question

Chun Ji wrote:
> I have set a mimemail target, in my build.xml file, which sends out the test results in a html format file. This morning, that target does not work any more. I believe it was our IT people that reset our mail server or port number during the weekend, which cause my target faiure. 
> The bad thing is I do not have options to specify such value, such as "mailhost" or "mailport" in a "mimemail" target. But somehow, I have to use mimemail in order to send the content of email in html format. So does someone know what I could do ? 
> 
> 
> Here is my target looks like: 
> "
>    <target name="sendemail">
>         <mimemail messageMimeType="text/html" messageFile="build/test-output/emailReport.html" tolist="cji@pro-unlimited.com" subject="daily report" from="cji@pro-unlimited.com"/>
>    </target>
> "
> 

Use the <mail> task.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org