public void ConfigureEmail()
        {
            // Command-line argument must be the SMTP host.
            string _sender   = outlookPageData.SenderEmail;// "*****@*****.**";
            string _password = outlookPageData.SenderPassword;

            SmtpClient client = new SmtpClient(outlookPageData.SmptClient);

            client.Port                  = 587;
            client.DeliveryMethod        = SmtpDeliveryMethod.Network;
            client.UseDefaultCredentials = false;
            System.Net.NetworkCredential credentials =
                new System.Net.NetworkCredential(_sender, _password);
            client.EnableSsl   = true;
            client.Credentials = credentials;

            MailMessage message = new MailMessage(_sender, outlookPageData.RecieverEmail);

            message.Subject    = outlookPageData.Subject;
            message.IsBodyHtml = true;
            message.Body       = outlookPageData.Body;
            message.CC.Add(outlookPageData.Cc);
            message.Attachments.Add(new System.Net.Mail.Attachment(outlookPageData.Attachments));
            client.Send(message);
            Report.AddInfo("Email with subject " + outlookPageData.Subject + " has been sent to reciepient: " + outlookPageData.RecieverEmail);
        }