DotMSN |

# NSMessageHandler.MailboxChanged Event

Occurs when unread mail is read or mail is moved by the Owner.

[Visual Basic]
Public Event MailboxChanged As MailChangedEventHandler
[C#]
public event MailChangedEventHandler MailboxChanged;

#### Event Data

The event handler receives an argument of type MailChangedEventArgs containing data related to this event. The following MailChangedEventArgs properties provide information specific to this event.

Property | Description
--- | ---
Count | The number of mails moved
DestinationFolder | The destination folder the mail(s) are moved to
MailsAreRead | Indicates whether mails are moved between folders or if unread mails are read. When sourcefolder and destination folder are the same this means the mails are not moved but read, and MailsRead will return true. Otherwise it will return false.
SourceFolder | The source folder the mail(s) are moved from

#### See Also

NSMessageHandler Class | XihSolutions.DotMSN Namespace