static MailEncoding()
 {
     Base64 = new Base64Encoder();
     QuotedPrintable = new QuotedPrintableEncoder();
     _aliasEncoders = new Dictionary<string, IMailEncoder>()
     {
         { QuotedPrintable.Alias, QuotedPrintable },
         { Base64.Alias, Base64 }
     };
 }
Exemple #2
0
 static MailEncoding()
 {
     Base64          = new Base64Encoder();
     QuotedPrintable = new QuotedPrintableEncoder();
     _aliasEncoders  = new Dictionary <string, IMailEncoder>()
     {
         { QuotedPrintable.Alias, QuotedPrintable },
         { Base64.Alias, Base64 }
     };
 }