コード例 #1
0
 public void Notify(Contract contract, string pdfFilePath, MailTypeMessage typeMessage)
 {
     detail           = contract.Details[0];
     this.pdfFilePath = pdfFilePath;
     this.typeMessage = typeMessage;
     GenerateBody();
     SendAnEmail();
 }
コード例 #2
0
 public void Notify(Client client, MailTypeMessage typeMessage)
 {
     this.client      = client;
     this.typeMessage = typeMessage;
     GenerateBody();
     email.EmailTo = this.client.Credentials.Email;
     email.UserTo  = this.client.ToString();
     SendTheEmailToQueue();
 }