Exemple #1
0
        protected void uxSave_Click(object sender, EventArgs e)
        {
            var guid = Guid.Empty.ToString();

            if (!string.IsNullOrEmpty(Request.QueryString["guid"]))
            {
                guid = Request.QueryString["guid"].ToString();
            }

            ResetPasswordTicket ResetTicket = new ResetPasswordTicket(guid);
            string password = string.Empty;

            // TODO: Add validation that passwords match

            if (uxPassword.Text == uxPasswordConfirm.Text && !string.IsNullOrEmpty(uxPasswordConfirm.Text))
            {
                ResetTicket.CompleteTicket(Request.UserHostAddress);
                password = uxPassword.Text;
                ResetYourPasswordItem context = (ResetYourPasswordItem)Sitecore.Context.Item;
                var membershipManager         = new MembershipManager();
                var reset = membershipManager.ResetPassword(Guid.Parse(ResetTicket.UserID), password);



                uxMessage.Text = context.PasswordUpdatedText;

                var member = membershipManager.GetMember(Guid.Parse(ResetTicket.UserID));
                var user   = membershipManager.GetUser(Guid.Parse(ResetTicket.UserID), false);
                ExactTargetService.InvokeEM23PasswordResetConfirmation(new InvokeEM23PasswordResetConfirmationRequest {
                    PreferredLanguage = member.PreferredLanguage, EmailAddress = user.Email, ReportChangedPasswordLink = "#", ToEmail = user.Email, UserPassword = "******", RequestUrl = Request.Url
                });
            }
        }
Exemple #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            imgBanner.ImageUrl = this.Model.BannerImage.MediaItem != null ? this.Model.BannerImage.MediaUrl : "";

            List <DefaultArticlePageItem> recommendedArticles;

            if (IsUserLoggedIn)
            {
                recommendedArticles = SearchHelper.GetRecommendedContent(CurrentMember, DefaultArticlePageItem.TemplateId)
                                      .Where(a => a.GetItem() != null)
                                      .Select(a => new DefaultArticlePageItem(a.GetItem()))
                                      .ToList();

                BaseReply reply = ExactTargetService.InvokeEM11DonationAcknowledgement(new InvokeEM11DonationAcknowledgementRequest {
                    RequestUrl = Request.Url, DonationAmount = "$0.00", FullName = CurrentMember.FirstName, PreferredLanguage = CurrentMember.PreferredLanguage, ToEmail = CurrentMember.Email
                });


                if (recommendedArticles.Count > 0)
                {
                    rptFeaturedArticles.DataSource = recommendedArticles.Take(4);
                    rptFeaturedArticles.DataBind();
                }
            }
        }
        protected void btnAgree_Click(object sender, EventArgs e)
        {
            CurrentMember.AgreedToSignUpTerms = true;

            var membershipManager = new MembershipManager();

            membershipManager.UpdateMember(CurrentMember);

            BaseReply reply = ExactTargetService.InvokeWelcomeToUnderstood(new InvokeWelcomeToUnderstoodRequest {
                PreferredLanguage = CurrentMember.PreferredLanguage, ToEmail = CurrentUser.Email, FirstName = CurrentMember.FirstName, RequestUrl = Request.Url
            });

            //string url = MembershipHelper.GetNextStepURL(1);
            // send them to My Account, not into CMP
            string url = MyAccountItem.GetMyAccountPage().GetUrl();

            // NOTE: temorarily commented out to prevent 404 redirect

            //if (Session[Constants.SessionPreviousUrl] != null)
            //{
            //    url = Session[Constants.SessionPreviousUrl].ToString();
            //}

            //redirect based on interrupt
            this.ReturnRedirect();

            //if no sign-up interrupt was set, redirect as normal
            Response.Redirect(url);
        }
        protected void btnEM7_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM7NewsletterConfirmation(new InvokeEM7NewsletterConfirmationRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), ToEmail = tbxSubscriberEmail1.Text, ConfirmSubscriptionLink = "www.google.com", WeekDay = "sunday"
            });

            lblMessage.Text = reply.Message;
        }
        //protected void btnEM20_Click(object sender, EventArgs e)
        //{
        //	BaseReply reply = ExactTargetService.
        //}

        protected void btnEM21_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM21PrivateMessage(new InvokeEM21PrivateMessageRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), ContactSettingsLink = "www.google.com", MsgCenterLink = "www.gmail.com", PMText = "This is a private message!", ReportInappropriateLink = "www.google.com", ToEmail = tbxSubscriberEmail1.Text
            });

            lblMessage.Text = reply.Message;
        }
        protected void btnEM19_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM19WebinarReminder(new InvokeEM19WebinarReminderRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), ToEmail = tbxSubscriberEmail1.Text, WebinarModule = "webinar Module!"
            });

            lblMessage.Text = reply.Message;
        }
        protected void btnEM18_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM18UpdateProfileReminder(new InvokeEM18UpdateProfileReminderRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), ChildInformationConfirmation = "Is your child still 5 years old?", InformationConfirmLink = "google.com", InformationDeniedLink = "www.yahoo.com", ProfileImageLink = "www.photobucket.com", ToEmail = tbxSubscriberEmail1.Text, UserProfileLink = "www.facebook.com"
            });

            lblMessage.Text = reply.Message;
        }
        protected void btnEM2_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM2ParentToolkit(new InvokeEM2ParentToolkitRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), ToEmail = tbxSubscriberEmail1.Text
            });                                                                                                                                                                                                         //new Guid(ddlLanguages.SelectedValue)

            lblMessage.Text = reply.Message;
        }
        //protected void btnEM5_Click(object sender, EventArgs e)
        //{
        //	BaseReply reply = ExactTargetService.InvokeEM5KeepingAllStudentsSafe(new InvokeEM5KeepingAllStudentsSafeRequest { ToEmail = tbxSubscriberEmail1.Text });
        //	lblMessage.Text = reply.Message;
        //}

        protected void btnEM6_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM6HolidayDonations(new InvokeEM6HolidayDonationsRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), FullName = tbxSubscriberFN1.Text, ToEmail = tbxSubscriberEmail1.Text
            });

            lblMessage.Text = reply.Message;
        }
        protected void btnEM25_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM25WebinarSharedWithAFriend(new InvokeEM25WebinarSharedWithAFriendRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), PMText = "private message text!", ToEmail = tbxSubscriberEmail1.Text, UserContactFirstName = tbxSubscriberFN1.Text, WebinarModule = "webinar module"
            });

            lblMessage.Text = reply.Message;
        }
        protected void btnEM12_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM12ThankYouForContactingUs(new InvokeEM12ThankYouForContactingUsRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), ChildAge = "5", TimeRemaining = "10", ToEmail = tbxSubscriberEmail1.Text
            });

            lblMessage.Text = reply.Message;
        }
        protected void btnEM11_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM11DonationAcknowledgement(new InvokeEM11DonationAcknowledgementRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), ToEmail = tbxSubscriberEmail1.Text, DonationAmount = "1 Billion Dollars", FullName = tbxSubscriberFN1.Text, PrintDonationRecordsLink = "www.google.com"
            });

            lblMessage.Text = reply.Message;
        }
        protected void btnEM10_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM10WebinarConfirmation(new InvokeEM10WebinarConfirmationRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), ToEmail = tbxSubscriberEmail1.Text, WebinarModule = "<table><tr><td><p>Test Webinar Module!</p></td></tr></table>"
            });

            lblMessage.Text = reply.Message;
        }
        protected void btnEM8_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM8SubscriptionConfirmation(new InvokeEM8SubscriptionConfirmationRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), ToEmail = tbxSubscriberEmail1.Text
            });

            lblMessage.Text = reply.Message;
        }
        protected void btnEM23_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM23PasswordResetConfirmation(new InvokeEM23PasswordResetConfirmationRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), EmailAddress = tbxSubscriberEmail1.Text, ReportChangedPasswordLink = "www.google.com", ToEmail = tbxSubscriberEmail1.Text, UserPassword = "******"
            });

            lblMessage.Text = reply.Message;
        }
        protected void btnEM14_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM14ThisWeeksActivity(new InvokeEM14ThisWeeksActivityRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), ActivityFromThisWeekModule = "<table><tr><td><p>Activity from today module test!</p></td></tr><td>TUESDAY</td></tr><td>WEDNESDAY</td></tr></table>", ContactSettingsLink = "www.google.com", ProfileImageLink = "photobucket.com", ToEmail = tbxSubscriberEmail1.Text, UserProfileLink = "www.facebook.com", ViewMessageLink = "www.gmail.com"
            });

            lblMessage.Text = reply.Message;
        }
        protected void btnEM24_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM24ContentSharedWithAFriend(new InvokeEM24ContentSharedWithAFriendRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), ContentHelpfulnessAndCommentsModule = "<p>15 people thought this was helpful.</p><p>10 comments</p>", PMText = "this is a private message!", ReminderImage = "www.photobucket.com", ReminderLink = "www.google.com", ReminderSummary = "This is a summary of the reminder", ReminderTitle = "reminder title", ToEmail = tbxSubscriberEmail1.Text, UserContactFirstName = tbxSubscriberFN1.Text
            });

            lblMessage.Text = reply.Message;
        }
        protected void btnEM16_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM16ContentReminder(new InvokeEM16ContentReminderRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), ContactSettingsLink = "www.google.com", ContentHelpfulnessAndCommentsModule = "<table><tr><td>15 people thought this was helpful</td></tr><tr><td>20 people commented</td></tr></table>", ReminderImage = "www.photobucket.com", ReminderLink = "www.google.com", ReminderSummary = "This is a reminder summary!", ReminderTitle = "This is a reminder title!", ToEmail = tbxSubscriberEmail1.Text
            });

            lblMessage.Text = reply.Message;
        }
        //protected void btnEM26_Click(object sender, EventArgs e)
        //{
        //	BaseReply reply = ExactTargetService.
        //}

        //protected void btnEM27_Click(object sender, EventArgs e)
        //{

        //}

        protected void btnEM28_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM28AppsTechnologySharedWithAFriend(new InvokeEM28AppsTechnologySharedWithAFriendRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), UserContactFirstName = "user1", AppTitle = "app title", AppRatingModule = "app rating module", AppRatingLink = "www.google.com", AppQuality = "4.5 stars", AppLogo = "www.photobucket.com", AppLink = "www.google.com", AppLearningLink = "www.google.com", AppGrade = "6, 7, 8", AppGoodFor = "English | Math", AppDescription = "app description", ToEmail = tbxSubscriberEmail1.Text
            });

            lblMessage.Text = reply.Message;
        }
        protected void btnEM17_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM17ObservationLogReminder(new InvokeEM17ObservationLogReminderRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), ChildName = "optimus", ObservationalJournalLink = "www.google.com", ToEmail = tbxSubscriberEmail1.Text
            });

            lblMessage.Text = reply.Message;
        }
        protected void btnEM3_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM3ExploreTheCommunity(new InvokeEM3ExploreTheCommunityRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), FullName = tbxSubscriberFN1.Text, PartnerPromo = "<table><tr><td><p>Thia is a partner promo!</p></td></tr></table>", ProfileCompletionBar = "20%!", ToEmail = tbxSubscriberEmail1.Text
            });

            lblMessage.Text = reply.Message;
        }
        protected void btnEM22_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM22ForgotPassword(new InvokeEM22ForgotPasswordRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), PasswordResetLink = "www.google.com", ToEmail = tbxSubscriberEmail1.Text
            });

            lblMessage.Text = reply.Message;
        }
 public static bool CheckValidGNYHAAttributes(ExactTargetService.ExactTargetClient.Attribute[] gnyhaAttributes)
 {
     return    gnyhaAttributes.Any(x => x.Name == _EMAILADDRESS)
            && gnyhaAttributes.Any(x => x.Name == _FACILITY)
            && gnyhaAttributes.Any(x => x.Name == _TITLE)
            && gnyhaAttributes.Any(x => x.Name == _FIRSTNAME)
            && gnyhaAttributes.Any(x => x.Name == _LASTNAME)
            && gnyhaAttributes.Any(x => x.Name == _STATE)
            && gnyhaAttributes.Any(x => x.Name == _NYC);
 }
        protected void btnETTests_Click(object sender, EventArgs e)
        {
            //InvokeEM2ParentToolkitReply reply = ExactTargetService.InvokeEM2ParentToolkit(new InvokeEM2ParentToolkitRequest { ToEmail = tbxSubscriberEmail1.Text });
            //BaseReply reply = ExactTargetService.InvokeWelcomeToUnderstood(new InvokeWelcomeToUnderstoodRequest { PreferredLanguage = new Guid(ddlLanguages.SelectedValue), ToEmail = tbxSubscriberEmail1.Text, FirstName = tbxSubscriberFN1.Text });
            BaseReply reply = ExactTargetService.SendBehaviorToolSuggestion(new BaseRequest {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue), ToEmail = tbxSubscriberEmail1.Text
            }, "Hello, world!");

            //BaseReply reply = ExactTargetService.InvokeEM10WebinarConfirmation(new InvokeEM10WebinarConfirmationRequest { ToEmail = tbxSubscriberEmail1.Text, WebinarModule = txtWebinarCode.Text });
            lblMessage.Text = reply.Message;
        }
Exemple #25
0
        protected void btnJoin_Click(object sender, EventArgs e)
        {
            this.ProfileRedirect(Constants.UserPermission.CommunityUser);

            if (CurrentMember != null)
            {
                if (CurrentMember.ScreenName != null)
                {
                    if (IsMember)
                    {
                        try
                        {
                            Item grpItem = Groups.ConvertGroupIDtoSitecoreItem(GroupID);

                            string itemUrl = grpItem.GetUrl();
                            Response.Redirect(itemUrl, true);
                        }
                        catch (Exception ex)
                        {
                            Sitecore.Diagnostics.Error.LogError("Error in btnJoin_Click for Join Group Button function.\nError:\n" + ex.Message);
                        }
                    }
                    else
                    {
                        if (TelligentService.JoinGroup(GroupID, CurrentMember.ScreenName))
                        {
                            //Send Email
                            GroupItem      grpItem  = new GroupItem(Groups.ConvertGroupIDtoSitecoreItem(GroupID));
                            GroupCardModel grpModel = Groups.GroupCardModelFactory(grpItem);


                            BaseReply reply = ExactTargetService.InvokeEM9GroupWelcome(new InvokeEM9GroupWelcomeRequest
                            {
                                PreferredLanguage = CurrentMember.PreferredLanguage,
                                GroupLeaderEmail  = grpModel.ModeratorEmail,
                                GroupLink         = grpItem.GetUrl(),
                                GroupTitle        = grpItem.DisplayName,
                                ToEmail           = CurrentMember.Email,

                                GroupModerator = new Moderator
                                {
                                    groupModBioLink = grpModel.ModeratorBio,
                                    groupModImgLink = grpModel.ModeratorAvatarUrl, //owner.Avatar,
                                    groupModName    = grpModel.ModeratorName
                                }, RequestUrl = Request.Url
                            });

                            Text = DictionaryConstants.ViewDiscussionsLabel;
                        }
                    }
                }
            }
        }
        protected void btnSubmit_Click(object sender, EventArgs e)
        {
            var email = txtEmailAddress.Text;

            try
            {
                //always show success message, even if we don't send the email
                //add ASP.Net validation

                MembershipManager membershipManager = new MembershipManager();
                Member            member;

                member = membershipManager.GetMember(email);

                if (member != null)
                {
                    var passwordReset = Sitecore.Context.Database.GetItem(Constants.TemplateIDs.ForgotPasswordPage);
                    var link          = string.Format(Request.Url.Host + "{0}?guid={1}", passwordReset.GetUrl(), new ResetPasswordTicket(member.MemberId).ResetTicketID);


                    BaseReply reply = ExactTargetService.InvokeEM22ForgotPassword(new InvokeEM22ForgotPasswordRequest {
                        PreferredLanguage = member.PreferredLanguage, PasswordResetLink = link, ToEmail = email, RequestUrl = Request.Url
                    });


                    if (reply.Successful)
                    {
                    }
                    else
                    {
                        litErrorMessage.Text = context.ProblemText;
                        throw new Exception("Issue sending email to: " + email);
                    }
                }
                else
                {
                    throw new Exception("User does not exist: " + email);
                }
            }
            catch (Exception ex)
            {
                Sitecore.Diagnostics.Log.Error("Forgot password error", ex, this);
                //uxView.ActiveViewIndex = 0;
                //litErrorMessage.Visible = true;
                //litErrorMessage.Text = DictionaryConstants.EmailException;
            }

            if (string.IsNullOrEmpty(litErrorMessage.Text))
            {
                uxView.ActiveViewIndex = 1;
                litSuccessStory.Text   = Model.SuccessMessage.Rendered.Replace("$email$", Server.HtmlEncode(email));
            }
        }
        protected void btnE1_Click(object sender, EventArgs e)
        {
            MembershipManager mm    = new MembershipManager();
            Member            mem   = new Member();
            BaseReply         reply = ExactTargetService.InvokeE1ATurnAroundBullying(new InvokeE1ATurnAroundBullyingRequest
            {
                Child             = mm.GetChild(new Guid("1DC558DE-8E46-4973-980A-08F582EAE6D5")),
                ToEmail           = tbxSubscriberEmail1.Text,
                Member            = mem,
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue)
            });

            lblMessage.Text = reply.Message;
        }
Exemple #28
0
        protected void btnSend_Click(object sender, EventArgs e)
        {
            Page.Validate("vlgEmailForm");

            if (Page.IsValid)
            {
                Item currentItem = Sitecore.Context.Item;

                InvokeEM24ContentSharedWithAFriendRequest message = new InvokeEM24ContentSharedWithAFriendRequest {
                    RequestUrl = Request.Url
                };

                message.PMText  = txtThoughts.Text.Trim();
                message.ToEmail = txtRecipientEmail.Text.Trim();
                message.UserContactFirstName = txtYourName.Text.Trim();
                message.RequestUrl           = Request.Url;

                string domain = new Uri(HttpContext.Current.Request.Url.AbsoluteUri).GetLeftPart(UriPartial.Authority);

                if (currentItem != null)
                {
                    message.ReminderLink = domain + currentItem.GetUrl();
                }

                BaseReply         reply = ExactTargetService.InvokeEM24ContentSharedWithAFriend(message);
                MembershipManager mmgr  = new MembershipManager();

                if (IsUserLoggedIn)
                {
                    try
                    {
                        bool success = mmgr.LogMemberActivity(CurrentMember.MemberId,
                                                              currentItem.ID.ToGuid(),
                                                              Constants.UserActivity_Values.Shared,
                                                              Constants.UserActivity_Types.ContentRelated);
                    }
                    catch
                    {
                    }
                }

                pnlConfirmation.Visible = true;
                pnlForm.Visible         = false;
            }
            else
            {
                validWarning.Visible = true;
            }
        }
        protected void btnSendNewMessage_Click(object sender, EventArgs e)
        {
            string usernames = String.Join(",", chklUsernames.Items.Cast <ListItem>()
                                           .Where(li => li.Selected)
                                           .Select(li => li.Value).ToArray());
            string newConvID = TelligentService.CreateConversation(ScreenName, txtSubject.Text, CKEditorControl1.Text, usernames);

            if (!String.IsNullOrEmpty(newConvID))
            {
                try
                {
                    BindConversations(true);
                    rptMessages.DataSource = new List <Message>();
                    rptMessages.DataBind();

                    //Send ExactTarget Email
                    MembershipManager memMan = new MembershipManager();
                    string[]          users  = usernames.Split(',');
                    foreach (string username in users)
                    {
                        string memberEmail   = TelligentService.GetMemberEmail(username);
                        string myAccountLink = LinkManager.GetItemUrl(Sitecore.Context.Database.GetItem(Constants.Pages.MyAccount.ToString()));

                        BaseReply reply = ExactTargetService.InvokeEM21PrivateMessage(
                            new InvokeEM21PrivateMessageRequest
                        {
                            PreferredLanguage = CurrentMember.PreferredLanguage,
                            ///TODO: change url to profile setting link
                            ContactSettingsLink = MembershipHelper.GetPublicProfileUrl(username),
                            ///TODO: change URL to message centre link
                            MsgCenterLink           = myAccountLink,
                            PMText                  = CKEditorControl1.Text,
                            ReportInappropriateLink = "*****@*****.**",
                            ToEmail                 = memberEmail,
                            RequestUrl              = Request.Url
                        });
                    }
                }catch (Exception ex)
                {
                    Sitecore.Diagnostics.Error.LogError("SendNewMessage Error:\n" + ex.Message);
                }


                Response.Redirect(Request.Url.AbsolutePath);
            }
        }
        public SubmissionResult SubmitSuggestion(string message)
        {
            message = message.Trim();

            // TODO: Submit to salesforce
            BaseRequest request = new BaseRequest
            {
                ToEmail = Sitecore.Configuration.Settings.GetSetting(Constants.Settings.BehaviorToolSuggestionEmail)
            };

            var response = ExactTargetService.SendBehaviorToolSuggestion(request, message);

            return(new SubmissionResult
            {
                Message = response.Message,
                IsValid = response.Successful
            });
        }
        protected void btnEM9_Click(object sender, EventArgs e)
        {
            BaseReply reply = ExactTargetService.InvokeEM9GroupWelcome(new InvokeEM9GroupWelcomeRequest
            {
                PreferredLanguage = new Guid(ddlLanguages.SelectedValue),
                GroupLeaderEmail  = "*****@*****.**",
                GroupLink         = "www.google.com",
                GroupTitle        = "People testing Emails",
                ToEmail           = tbxSubscriberEmail1.Text,

                GroupModerator = new Moderator
                {
                    groupModBioLink = "www.google.com",
                    groupModImgLink = "images.google.com",
                    groupModName    = "Bob Smith"
                }
            });

            lblMessage.Text = reply.Message;
        }