Merge branch 'main' of https://github.com/bkaankose/Wino-Mail
This commit is contained in:
@@ -161,8 +161,8 @@ public class MimeFileService : IMimeFileService
|
|||||||
{
|
{
|
||||||
var unsubscribeLinks = message.Headers[HeaderId.ListUnsubscribe]
|
var unsubscribeLinks = message.Headers[HeaderId.ListUnsubscribe]
|
||||||
.Normalize()
|
.Normalize()
|
||||||
.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries)
|
.Split([','], StringSplitOptions.RemoveEmptyEntries)
|
||||||
.Select(x => x.Trim([' ', '<', '>']));
|
.Select(x => x.Trim().Trim(['<', '>']));
|
||||||
|
|
||||||
// Only two types of unsubscribe links are possible.
|
// Only two types of unsubscribe links are possible.
|
||||||
// So each has it's own property to simplify the usage.
|
// So each has it's own property to simplify the usage.
|
||||||
|
|||||||
Reference in New Issue
Block a user