Class EmailMessage

Definition

Namespace:
Tizen.Messaging.Email
Assembly:
Tizen.Messaging.dll

This class contains the Messaging API to support sending email messages.

C#
Copy
public class EmailMessage : IDisposable
Inheritance
object
EmailMessage
Implements
System.IDisposable

Constructors

View Source

EmailMessage()

The constructor.

Declaration
C#
Copy
public EmailMessage()

Properties

View Source

Attachments

The list of file attachments.

Declaration
C#
Copy
public IList<EmailAttachment> Attachments { get; }
Property Value
Type Description
System.Collections.Generic.IList<T><EmailAttachment>
View Source

Bcc

The collection of BCC (blind carbon copy) email recipients.

Declaration
C#
Copy
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).

View Source

Body

The body of the email message.

Declaration
C#
Copy
public string Body { get; set; }
Property Value
Type Description
string
View Source

Cc

The collection of CC (carbon copy) email recipients.

Declaration
C#
Copy
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).

View Source

Subject

The subject of the email message.

Declaration
C#
Copy
public string Subject { get; set; }
Property Value
Type Description
string
View Source

To

The collection of normal email recipients.

Declaration
C#
Copy
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 Source

Dispose()

Releases all resources used by the EmailMessage.

Declaration
C#
Copy
public void Dispose()
View Source

Dispose(bool)

Releases all resources used by the EmailMessage.

Declaration
C#
Copy
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
bool disposing

Disposing by User

Implements

System.IDisposable