Posted on: 12/23/2013 5:27:01 AM | Views : 957

i want send the msg to my self  based on the image below how to chg the email to with the sender email? on msg.from i ady get the user mail why cant display on the image to?
MailMessage msgself = new MailMessage(); msgself.To.Add(new MailAddress("TheDonkeySkin@gmail.com")); msgself.From = new MailAddress(txtEmail.Text); msgself.Subject = txtEmail.Text + " - " + txtMessagesubject.Text; string body2 = txtContent.Text; msgself.Body = body2; msgself.IsBodyHtml = true; msgself.Priority = MailPriority.Normal; SmtpClient smtpself = new SmtpClient(); System.Net.NetworkCredential myCredentialself = new System.Net.NetworkCredential("TheDonkeySkin@gmail.com", "159753abc"); ...

Go to the complete details ...