我正在尝试运行 ant 邮件任务,并且脚本在我的 cygwin 中运行良好,但是当我将它移到 ubuntu 时,我得到:
BUILD FAILED
/home/admin/test/build.xml:22: mail doesn't support the "enableStartTLS" attribute
然后我删除了该属性并得到:
[mail] Failed to initialize MIMI mail: javax/mail/MessagingException
我想知道在哪里可以找到某种日志或以某种方式强制日志。有任何想法吗?这是蚂蚁任务:
<mail mailhost="smtp.gmail.com" user="####" password="####" enableStartTLS="true" subject="jMeter test results from nightly build.">
<from address="codeslikeamonkey@ga.com"/>
<to address="codeslikeamonkey@ga.com"/>
<message>This is an automated message containing results from the most recent discovery build.</message>
<attachments>
<fileset dir="${basedir}">
<include name="JMeter-Results*"/>
</fileset>
</attachments>
</mail>