Esempio n. 1
0
        public void AddRecipientMetadata(string rcptEmail, string key, string value)
        {
            var metadata = RecipientMetadata.FirstOrDefault(x => x.Rcpt == rcptEmail);

            if (metadata == null)
            {
                RecipientMetadata.Add(metadata = new MandrillRcptMetadata {
                    Rcpt = rcptEmail
                });
            }
            metadata.Values[key] = value;
        }
Esempio n. 2
0
 public void AddRecipientMetadata(string rcptEmail, string key, string value)
 {
     var metadata = RecipientMetadata.FirstOrDefault(x => x.Rcpt == rcptEmail);
     if (metadata == null)
     {
         RecipientMetadata.Add(metadata = new MandrillRcptMetadata {Rcpt = rcptEmail});
     }
     metadata.Values[key] = value;
 }