Buildfile: build.xmlmail:
[mail] Sending email: null
[mail] Failed to send emailBUILD FAILED
X:\Pinball\PINBAL~1\SAMSUN~1\build.xml:6: Problem while sending mime mail:Total time: 1 second我使用ant来发送邮件,缺出现了上面的错误,请问是怎么回事?
我的build.xml文件:<project name="ant_test" basedir="." default="mail">
<target name="mail" description="test mail">
<mail mailhost="smtp.163.com"
mailport="25"
user="zqget123"
password="123456">
<from address="[email protected]"/>
<to address="[email protected]"/>
<message>this is a test mail!</message>
</mail>
</target>
</project>
[mail] Sending email: null
[mail] Failed to send emailBUILD FAILED
X:\Pinball\PINBAL~1\SAMSUN~1\build.xml:6: Problem while sending mime mail:Total time: 1 second我使用ant来发送邮件,缺出现了上面的错误,请问是怎么回事?
我的build.xml文件:<project name="ant_test" basedir="." default="mail">
<target name="mail" description="test mail">
<mail mailhost="smtp.163.com"
mailport="25"
user="zqget123"
password="123456">
<from address="[email protected]"/>
<to address="[email protected]"/>
<message>this is a test mail!</message>
</mail>
</target>
</project>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货