Please see the below code and give me suggestions.
protected void btnSubmit_Click(object sender, EventArgs e)
{
MailMessage EmailMsg = new MailMessage();
EmailMsg.From = new MailAddress("Valley@xyz.com", "Valley");
EmailMsg.To.Add(new MailAddress("I WANT TO CALL STORE PROCEDURE HERE"));--------------------->Database Name: Valley ------->Store Procedure Name: Request
EmailMsg.Subject = "New access request";
EmailMsg.Body = "<html><body>This is a test email<hr>Test</body></html>";
EmailMsg.IsBodyHtml = true;
EmailMsg.Priority = MailPriority.Normal;
SmtpClient MailClient = new SmtpClient("xxx.yyy.com");
MailClient.Credentials = new System.Net.NetworkCredential("Valley@xyz.com", "******");
MailClient.Send(EmailMsg);
}