* Refactor draft creation * try scoped namespace * Refactor mailto protocol and revert namespaces * Remove useless account query * Fix typo and CC/BCC in replies * Replace convert with existing extension * Small fixes * Fix CC/Bcc in replies to automatically show if needed. * Fixed body parameter position from mailto parameters * Fixed issue with ReplyAll self not removed
28 lines
643 B
C#
28 lines
643 B
C#
using MimeKit;
|
|
using Wino.Core.Domain.Entities;
|
|
using Wino.Core.Domain.Enums;
|
|
using Wino.Core.Domain.Models.Launch;
|
|
|
|
namespace Wino.Core.Domain.Models.MailItem;
|
|
|
|
public class DraftCreationOptions
|
|
{
|
|
public DraftCreationReason Reason { get; set; }
|
|
|
|
/// <summary>
|
|
/// Used for forward/reply
|
|
/// </summary>
|
|
public ReferencedMessage ReferencedMessage { get; set; }
|
|
|
|
/// <summary>
|
|
/// Used to create mails from Mailto links
|
|
/// </summary>
|
|
public MailToUri MailToUri { get; set; }
|
|
}
|
|
|
|
public class ReferencedMessage
|
|
{
|
|
public MailCopy MailCopy { get; set; }
|
|
public MimeMessage MimeMessage { get; set; }
|
|
}
|