views:

89

answers:

2

I'm sending a plain text email and was wondering how I add a line break to this. It's showing up on on the same line.

From: <%= @name %>
<%= @text %>

Thanks

+1  A: 

I could be completely wrong, but isn't it a simple \n ?

Christina Mayers
+1  A: 
\n

or if you're sending html email:

<br />

so:

From: <%= @name %> \n <%= @text %>
From: <%= @name %> <br /> <%= @text %>
Jimmy