Mail Class
From MSBuild
Sends an email message
Namespace: MSBuild.Community.Tasks
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)
Syntax
Example
Example of sending an email.
<Target Name="Mail">
<Mail SmtpServer="localhost"
To="user@email.com"
From="from@email.com"
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.