/// <summary>
 ///     Emails from from master.
 /// </summary>
 /// <param name = "variables">The variables lust of string to be replace ie Nate Priddy with {!from}.</param>
 /// <param name = "subject">The subject.</param>
 /// <param name = "to">To.</param>
 /// <param name = "cc">The cc.</param>
 /// <datetime>6/17/2011-10:16 AM</datetime>
 /// <author>
 ///     nate
 /// </author>
 public static void EmailFromFromMaster(IEnumerable<KeyValuePair<string, string>> variables, string subject, User to, IEnumerable<int> cc)
 {
     var html = GetHtmlTemplate();
     var text = "";
     EmailUtilities.Replacer(variables, ref html, ref text, ref subject);
     EmailUtilities.SendEmail(html, text, subject, to.FirstName + " " + to.LastName, to.Email, cc);
 }
        /// <summary>
        ///     Sends new user account email with activation key
        /// </summary>
        /// <param name = "info">The info.</param>
        /// <datetime>6/11/2011-11:42 AM</datetime>
        /// <author>
        ///     nate
        /// </author>
        public static void NewUserAccount(User info)
        {
            var keys = new List<KeyValuePair<string, string>>
                           {
                               new KeyValuePair<string, string>("{!MainTitleHtml}", "Account Created"),
                               new KeyValuePair<string, string>("{!Subtitle01Html}", "Action Required"),
                               new KeyValuePair<string, string>("{!Subtitle01TextHtml}", "Congratulations on creating your account activation is still required. Please follow the links bellow."),
                               new KeyValuePair<string, string>("{!LinkHtml}", "http://UrbanScheduler.com?activationKey=" + info.ActivationGuid),
                               new KeyValuePair<string, string>("{!LinkTextHtml}", "Click Here To Activate Account"),
                               new KeyValuePair<string, string>("{!FormPerson}", "UrbanScheduler System")
                           };

            EmailTemplateUtilities.EmailFromFromMaster(keys, "UrbanScheduler Account Created", info, new List<int>());
        }