DotMSN |

# NSMessageHandler.NewMailReceived Event

Occurs when new mail is received by the Owner.

[Visual Basic]
Public Event NewMailReceived As NewMailEventHandler
[C#]
public event NewMailEventHandler NewMailReceived;

#### Event Data

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

Property | Description
--- | ---
DestinationFolder | The folder the mail is redirected to
From | The person's name who sended the e-mail
FromEmail | The e-mail adress of the person who sended the e-mail
Id | ID of the message, used for hotmail login
MessageUrl | The url to directly view the message in Hotmail
PostUrl | The post url used for automatic hotmail login
Subject | The subject of the e-mail

#### See Also

NSMessageHandler Class | XihSolutions.DotMSN Namespace