示例#1
0
        private void BtnSent_Click(object sender, EventArgs e)
        {
            var status = new MailTaskStatus();

            status.GetProcessedEmailTasksForClient(_url, _key, "EI002");

            textBox1.Text = JsonConvert.SerializeObject(status.MailTaskList);
        }
示例#2
0
        private void BtnStatus_Click(object sender, EventArgs e)
        {
            var status = new MailTaskStatus();

            status.GetEmailTaskStatus(_url, _taskID, key);
            string result = $"Processed: {status.Processed}\r\nReceivedTimeStamp:{status.ReceivedTimestamp}\r\nProcessedTimeStamp:{status.ProcessedTimestamp}";

            textBox1.Text = result;
        }