Remove obsolete code.
This commit is contained in:
@@ -7,8 +7,6 @@ using MimeKit;
|
|||||||
using MimeKit.IO;
|
using MimeKit.IO;
|
||||||
using MimeKit.IO.Filters;
|
using MimeKit.IO.Filters;
|
||||||
using MimeKit.Utils;
|
using MimeKit.Utils;
|
||||||
using Wino.Core.Domain;
|
|
||||||
using Wino.Core.Domain.Entities;
|
|
||||||
|
|
||||||
namespace Wino.Core.Extensions
|
namespace Wino.Core.Extensions
|
||||||
{
|
{
|
||||||
@@ -41,16 +39,6 @@ namespace Wino.Core.Extensions
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static AccountContact ToAddressInformation(this MailboxAddress address)
|
|
||||||
{
|
|
||||||
if (address == null)
|
|
||||||
return new AccountContact() { Name = Translator.UnknownSender, Address = Translator.UnknownAddress };
|
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(address.Name))
|
|
||||||
address.Name = address.Address;
|
|
||||||
|
|
||||||
return new AccountContact() { Name = address.Name, Address = address.Address };
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sets html body replacing base64 images with cid linked resources.
|
/// Sets html body replacing base64 images with cid linked resources.
|
||||||
|
|||||||
Reference in New Issue
Block a user