Exemplo n.º 1
0
 public void SendProfileChangeNotificationMessage(IFederatedIPUser user)
 {
     using (IEmailServiceMessage message = BeginMessage(user))
     {
         message.AddSubject("Profile Updated");
         message.AddBodyMessage($"{user.Name},\nYour Profile was recently updated.");
         message.Send();
     }
 }
Exemplo n.º 2
0
 public void SendContactUsEmail(string email, string name, string message)
 {
     using (IEmailServiceMessage emailMessage = Service.BeginMessage(name, email, "My Consuming App Team", "*****@*****.**"))
     {
         emailMessage.AddSubject($"Customer Inquirey from {name}");
         emailMessage.AddBodyMessage(message);
         emailMessage.Send();
     }
 }
Exemplo n.º 3
0
 public void SendWelcomeMessage(IFederatedIPUser user)
 {
     using (IEmailServiceMessage message = BeginMessage(user))
     {
         message.AddSubject("Welcome To My Consuming App");
         message.AddBodyMessage($"{user.Name},\nOn behalf of all the staff at My Consuming App we would like to welcome you to the site!");
         message.Send();
     }
 }