Class EmailMessage
Definition
- Assembly:
- Tizen.Messaging.dll
This class contains the Messaging API to support sending email messages.
public class EmailMessage : IDisposable
- Inheritance
-
objectEmailMessage
- Implements
-
System.IDisposable
Constructors
View SourceEmailMessage()
The constructor.
Declaration
public EmailMessage()
Properties
View SourceAttachments
The list of file attachments.
Declaration
public IList<EmailAttachment> Attachments { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<T><EmailAttachment> |
Bcc
The collection of BCC (blind carbon copy) email recipients.
Declaration
public ICollection<EmailRecipient> Bcc { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<T><EmailRecipient> |
Remarks
The email address should be in the standard format (as described in the Internet standards RFC 5321 and RFC 5322).
Body
The body of the email message.
Declaration
public string Body { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Cc
The collection of CC (carbon copy) email recipients.
Declaration
public ICollection<EmailRecipient> Cc { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<T><EmailRecipient> |
Remarks
The email address should be in the standard format (as described in the Internet standards RFC 5321 and RFC 5322).
Subject
The subject of the email message.
Declaration
public string Subject { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
To
The collection of normal email recipients.
Declaration
public ICollection<EmailRecipient> To { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<T><EmailRecipient> |
Remarks
The email address should be in the standard format (as described in the Internet standards RFC 5321 and RFC 5322).
Methods
View SourceDispose()
Releases all resources used by the EmailMessage.
Declaration
public void Dispose()
Dispose(bool)
Releases all resources used by the EmailMessage.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | Disposing by User |