Q:

Email modifying

I'm using Visual Studio 2015 for windows applications forms. I started with a basic program that sends the information in the form via email. The email functions works fine, I just can't get it to appear readable on the email message. My goal is to show each label and textbox in a different line. I.e: 
Lot number: 1111
Pieces: 2
Description: xyz... etc
     private void button1_Click(object sender, EventArgs e)
    {
        try
        {
            MailMessage mail = new MailMessage();
            SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");

            mail.From = new MailAddress("myemail");
            mail.To.Add("sendingTo");
            mail.Subject = "subject";  
            mail.Body = toName.Text lot.Text;

            SmtpServer.Port = 587; 
            SmtpServer.Credentials = new System.Net.NetworkCredential("username", "password");
            SmtpServer.EnableSsl = true;

            SmtpServer.Send(mail);
            MessageBox.Show("Sent");
        }
        catch (Exception ex)
        {
            MessageBox.Show(ex.ToString());
        }
    }

My problem is in - mail.Body. How do I create new lines with text and variable all together that would appear nicely in an email message.
Thanks!

A:

Try putting both "\r\n" to move to next line.
e.g.
mail.Body = toName.Text + "\r\n" + lot.Text + "\r\n" + pieces.Text + "\r\n" + description.Text;

"Name: ABC \r\n Lot number: 1111 \r\n Pieces: 2 \r\n Description: xyz\r\n"

