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
, orbcclist
attributes or their equivalent nested elements<to>
,<cc>
, or<bcc>
.- either
message
ormessagefile
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.
精彩评论