System.Net.Mail.MailMessage
E697513
System.Net.Mail.MailMessage is a .NET class used to construct and represent email messages, including their recipients, subject, body, and attachments, for sending via SMTP.
Statements (52)
| Predicate | Object |
|---|---|
| instanceOf |
.NET class
ⓘ
C# class ⓘ |
| assembly | System.dll ⓘ |
| disposes | System.Net.Mail.Attachment ⓘ |
| hasCollectionPropertyType |
AlternateViews: AlternateViewCollection
ⓘ
Attachments: AttachmentCollection ⓘ Bcc: MailAddressCollection ⓘ CC: MailAddressCollection ⓘ ReplyToList: MailAddressCollection ⓘ To: MailAddressCollection ⓘ |
| hasConstructor |
MailMessage()
ⓘ
MailMessage(MailAddress from, MailAddress to) ⓘ MailMessage(MailAddress from, MailAddress to, string subject, string body) ⓘ MailMessage(string from, string to) ⓘ MailMessage(string from, string to, string subject, string body) ⓘ |
| hasMethod |
Dispose()
ⓘ
Dispose(bool disposing) ⓘ |
| hasProperty |
AlternateViews
ⓘ
Attachments ⓘ Bcc ⓘ Body ⓘ BodyEncoding ⓘ CC ⓘ DeliveryNotificationOptions ⓘ From ⓘ Headers ⓘ HeadersEncoding ⓘ IsBodyHtml ⓘ Priority ⓘ ReplyToList ⓘ Sender ⓘ Subject ⓘ SubjectEncoding ⓘ To ⓘ |
| implements | System.IDisposable NERFINISHED ⓘ |
| introducedIn | .NET Framework 2.0 NERFINISHED ⓘ |
| lifecycle | should be disposed after use ⓘ |
| namespace | System.Net.Mail NERFINISHED ⓘ |
| purpose | represent an email message ⓘ |
| supports |
HTML email bodies via IsBodyHtml
ⓘ
alternate views for different content types ⓘ file attachments ⓘ multiple recipients ⓘ |
| threadSafety | instance members are not guaranteed to be thread-safe ⓘ |
| usedFor |
constructing email messages
ⓘ
sending email via SMTP ⓘ |
| usedWith | System.Net.Mail.SmtpClient NERFINISHED ⓘ |
| usesType |
System.Net.Mail.AlternateView
NERFINISHED
ⓘ
System.Net.Mail.Attachment ⓘ System.Net.Mail.DeliveryNotificationOptions NERFINISHED ⓘ System.Net.Mail.MailAddress ⓘ System.Net.Mail.MailPriority NERFINISHED ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.