private async Task SendEmail(TrelloMemberInfo member, string email)
        {
            var from = new MailAddress(deployEmailAddress, "Deploy status");
            var to   = new MailAddress(member.Email, member.Name);

            var mailMessage = new MailMessage(from, to);

            mailMessage.Body       = email;
            mailMessage.IsBodyHtml = true;
            mailMessage.Subject    = "Card activity notice";

            await smtpClient.SendMailAsync(mailMessage);
        }
Ejemplo n.º 2
0
        private async Task SendEmail(TrelloMemberInfo member, string email)
        {
            var from = new MailAddress(deployEmailAddress, "Deploy status");
            var to = new MailAddress(member.Email, member.Name);

            var mailMessage = new MailMessage(from, to);
            mailMessage.Body = email;
            mailMessage.IsBodyHtml = true;
            mailMessage.Subject = "Card activity notice";

            await smtpClient.SendMailAsync(mailMessage);
        }
Ejemplo n.º 3
0
 public CardsByMember(TrelloMemberInfo key, IEnumerable<TrelloCardInfo> trelloCardInfos)
 {
     Member = key;
     Cards = trelloCardInfos;
 }
Ejemplo n.º 4
0
 public CardsByMember(TrelloMemberInfo key, IEnumerable <TrelloCardInfo> trelloCardInfos)
 {
     Member = key;
     Cards  = trelloCardInfos;
 }
Ejemplo n.º 5
0
 protected bool Equals(TrelloMemberInfo other)
 {
     return(string.Equals(Name, other.Name) && string.Equals(Email, other.Email));
 }