---
title: "MailMessage.Sender"
url: "https://reference.aspose.com/email/net/aspose.email/mailmessage/sender/"
product: "Aspose.Email for .NET API Reference"
description: "MailMessage property. Gets or sets the agent that sent the message on behalf of the author the Sender header"
---

## MailMessage.Sender property

Gets or sets the agent that sent the message on behalf of the author (the `Sender` header).

```csharp
public virtual MailAddress Sender { get; set; }
```

### See Also

* class [MailAddress](../../mailaddress/)
* class [MailMessage](../)
* namespace [Aspose.Email](../../mailmessage/)
* assembly [Aspose.Email](../../../)


