开发者

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

开发者 https://www.devze.com 2023-03-09 04:18 出处:网络
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 in

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

精彩评论

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