Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
プレーンテキストのメールを送信していますが、これに改行を追加する方法を知りたいと思っていました。それは同じ行に表示されています。
From: <%= @name %> <%= @text %>
ありがとう
\r\n
または、html メールを送信している場合:
<br />
それで:
From: <%= @name %> \r\n <%= @text %> From: <%= @name %> <br /> <%= @text %>
私は完全に間違っている可能性がありますが、単純な \n ではありませんか?