Answers for "get domain name from email in asp.net c#"

0

get domain name from email in asp.net c#

<%  Session["Firstamemail"] = false;
+    
+    var Email = this.Model.Email;
+    var Domain = Email.Split('@')[1];
+    if (Domain.Equals(ConfigurationManager.AppSettings["AIMDomainName"].ToLower()))
+    {
+        Session["Firstamemail"] = true;
+    }
+    %>
Posted by: Guest on April-20-2021

Code answers related to "get domain name from email in asp.net c#"

Browse Popular Code Answers by Language