myMail.Body = TextBox1.Text + Environment.NewLine +
txtName.Text+ Environment.NewLine +
txtCName.Text+ Environment.NewLine +
txtAddress.Text+ Environment.NewLine +
TextBox1.Text+ Environment.NewLine +
txtCity.Text+ Environment.NewLine +
txtState.Text+ Environment.NewLine +
txtCountry.Text+ Environment.NewLine +
txtPhone.Text+ Environment.NewLine +
Fax.Text+ Environment.NewLine +
txtCell.Text+ Environment.NewLine +
txtEmail.Text+ Environment.NewLine +
txtPrinting.Text;
myMail.BodyEncoding = System.Text.Encoding.UTF8;
Or better yet, use stringbuilder or string.Format
StringBuilder bodyBuilder = new StringBuilder("");
bodyBuilder .AppendLine(TextBox1.Text);
bodyBuilder .AppendLine(txtName.Text);
bodyBuilder .AppendLine(txtCName.Text);
bodyBuilder .AppendLine(txtAddress.Text);
// etc.
myMail.Body = bodyBuilder .ToString();
or
myMail.Body = String.Format("{0}{1}{2}{1}{3}{1} ... ", TextBox1.Text, Environment.NewLine, txtCName.Text, txtAddress.Text -- etc...
source
share