示例#1
0
        protected void btnSend_Click(object sender, System.Web.UI.ImageClickEventArgs e)
        {
            string requestedDomain = this.RequestedDomain.Text;
            string ownsDomain      = this.lstOwnAlready.SelectedItem.Text;
            string hasSSL          = this.lstHaveSSL.SelectedItem.Text;
            string contactEmail    = this.ContactEmail.Text;
            string contactPhone    = this.ContactPhone.Text;
            string contactName     = this.ContactName.Text;

            MailServices.SendCustomDomainRequest(contactName, contactEmail, contactPhone, requestedDomain, ownsDomain, hasSSL);
            this.MessageBox1.ShowOk("Domain Request Sent! Thank you. We'll be in touch soon.");
        }