本文介绍了如何使用nant目标发送邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我必须使用nant< mail>发送邮件目标,但我收到这样的错误



Hi everyone,

I have to send the mail using nant <mail> targets, but i am getting some errors like this

Error sending mail:
Error enountered while sending mail message.
Make sure that the following information is valid:
Mailhost: smtpclient.everyone.com
Mailport: 80
Use SSL: False
Using default credentials

    Failure sending mail.
        Unable to connect to the remote server





我的代码是





my code is

<target name="send.email">
<mail from="[email protected]" tolist="[email protected]" cclist="[email protected]" subject="Test mail" message="Test mail delivered" mailhost="smtpclient.everyone.com" >
<attachments>
   <include name="test.doc" />
</attachments>
</mail>
</target>





请帮我纠正这个代码.....



谢谢

你的友好

Tilakraj



please help me to correct this code.....

Thank You
Your's friendly
Tilakraj

推荐答案

这篇关于如何使用nant目标发送邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 11:40