Esempio n. 1
0
        public string SignEmail(string text)
        {
            // best to sige with DKIM first as domain keys signer may be configured to sign entire email text
            // and so will fail if the text is signed by DKIM afterwards
            if (_dkimSigner != null)
            {
                text = _dkimSigner.SignEmail(text);
            }

            if (_domainKeySigner != null)
            {
                text = _domainKeySigner.SignEmail(text);
            }

            return(text);
        }
Esempio n. 2
0
 public string SignEmail(string text)
 {
     text = _dkimSigner.SignEmail(text);
     return(_domainKeySigner.SignEmail(text));
 }