Files
Wino-Mail/Wino.Core.Domain/Entities/MailAccountAlias.cs

43 lines
1.2 KiB
C#
Raw Normal View History

2024-08-15 16:02:02 +02:00
using System;
using SQLite;
namespace Wino.Core.Domain.Entities
{
public class MailAccountAlias
{
2024-08-15 16:13:18 +02:00
/// <summary>
/// Unique Id for the alias.
/// </summary>
2024-08-15 16:02:02 +02:00
[PrimaryKey]
public Guid Id { get; set; }
2024-08-15 16:13:18 +02:00
/// <summary>
/// Account id that this alias is attached to.
/// </summary>
2024-08-15 16:02:02 +02:00
public Guid AccountId { get; set; }
2024-08-15 16:13:18 +02:00
/// <summary>
/// Display address of the alias.
/// </summary>
2024-08-15 16:02:02 +02:00
public string AliasAddress { get; set; }
2024-08-15 16:13:18 +02:00
/// <summary>
/// Address to be included in Reply-To header when alias is used for sending messages.
/// </summary>
2024-08-15 16:11:12 +02:00
public string ReplyToAddress { get; set; }
2024-08-15 16:13:18 +02:00
/// <summary>
/// Whether this alias is the primary alias for the account.
/// </summary>
2024-08-15 16:02:02 +02:00
public bool IsPrimary { get; set; }
2024-08-15 16:13:18 +02:00
/// <summary>
/// Whether the alias is verified by the server.
/// Non-verified aliases will show an info tip to users during sending.
/// Only Gmail aliases are verified for now.
/// Non-verified alias messages might be rejected by SMTP server.
/// </summary>
2024-08-15 16:02:02 +02:00
public bool IsVerified { get; set; }
}
}