Sends an email message
Namespace: MSBuild.Community.Tasks
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)
Syntax
Example
Example of sending an email.
Copy Code | |
---|---|
<Target Name="Mail"> <Mail SmtpServer="localhost" To="[email protected]" From="[email protected]" Subject="Test Mail Task" Body="This is a test of the mail task." /> </Target> |
Inheritance Hierarchy
Thread Safety
Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
See Also
Documentation version 1.0.0.0.