开发者

How to use Ant mail task? what are the manditory inputs?

I am using ms- outl开发者_C百科ook. What are the manditory inputs for this Ant task and how can i find my mailhost and mailport number?


According to the Ant's Mail task documentation, the following information is required:

  • from attribute or <from> nested element.
  • tolist, cclist, or bcclist attributes or their equivalent nested elements <to>, <cc>, or <bcc>.
  • either message or messagefile attribute, alternatively nested <message> element.

If you SMTP server requires authentication, you must provide user and password attributes.

Basically these are required for any mail client.

Mail host and port, the address of an SMTP server, you can get from your system administrator.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜