Beispiel #1
0
        Deserialize(
            XmlNode sourceNode)
        {
            foreach (XmlNode recipient in
                     sourceNode.SelectNodes("child::recipient"))
            {
                recipients.Add(recipient.InnerText);
            }

            senderConfiguration = new SenderConfiguration();
            senderConfiguration.Deserialize(
                sourceNode.SelectSingleNode("Sender"));
        }
Beispiel #2
0
 SetSenderDetails(
     Credential authorizationCredential,
     string replyToAddress,
     string serverAddress,
     string serverPort,
     bool usingSsl)
 {
     senderConfiguration =
         new SenderConfiguration(authorizationCredential,
                                 replyToAddress,
                                 serverAddress,
                                 serverPort,
                                 usingSsl);
 }
Beispiel #3
0
        SynchronizeEmailNotifications()
        {
            EmailErrorNotification een =
                configuration.CopyGroupInstance.CopyOperation.EmailErrorNotification;
            SenderConfiguration sc = een.SenderConfiguration;

            tbSendingFrom.Text  = sc.ReplyToAddress;
            tbSmtpServer.Text   = sc.ServerAddress;
            tbSmtpPort.Text     = sc.ServerPort;
            tbSmtpUsername.Text = sc.Credential.Username;
            tbSmtpPassword.Text = sc.Credential.Password;

            chbUseSsl.IsChecked = sc.UsingSsl;

            foreach (String m in een.Recipients)
            {
                lbRecipients.Items.Add(m);
            }
        }