Append new line to Java StringBuilder with Outlook Email
<p>I'm using a StringBuilder that is going to be passed to a email service that I created so that the StringBuilder is set as the body of the email being sent. This is what I have now:</p>

<pre><code>StringBuilder buffer = new StringBuilder();
buffer.append("Hello World! " );
buffer.append(something.getMessage());
buffer.append (" \n ");
buffer.append("Welcome to " );
buffer.append(something.getAnother());
buffer.append (" \n ");

emailObject.setBody(buffer.toString());
emailService.sendEmail(emailObject);
</code></pre>

<p>I would like the message to be displayed in multiple lines, but for some reason even with \n the message still turns out to be in one single continuous line. Does anyone have any idea why this is not working?</p>
