How to create an email body programatically
-
Hi, I am trying to start my email app (in this case Eudora) with a programatically generated email. However, Eudora does not seem to recognize any of the ways I have tried to create line breaks. I have tried "\n", "\r\n", and using the StringBuilder AppendLine() method like this: StringBuilder body = new StringBuilder(1024); // AppendLine doesn't work body.AppendLine("Thank you for registering!"); // Neither does this body.Append(System.Environment.NewLine); body.Append("Support Forums"); body.AppendLine(); body.Append("Please be sure that you have the latest version, "); Process process = new Process(); process.StartInfo.FileName = "mailto:"; process.StartInfo.FileName += tbEmail.Text; process.StartInfo.FileName += "?subject=GaugeGlow License Key"; process.StartInfo.FileName += "&bcc=benchmark-avionics@comcast.net"; process.StartInfo.FileName += "&body="; process.StartInfo.FileName += body; process.Start(); yet, when the email opens in the application, there are no line breaks at all. Thanks, Stick