In my Rails app I have a mail section in which I want to append a >
character at the start of each line when replying to a message. The challenge is, how do I know when to insert a >
character given the block of text doesn't contain carriage returns according to the width of the textbox.
Asked
Active
Viewed 184 times
2

alamodey
- 14,320
- 24
- 86
- 112
-
< rather than >? That's a bit unconventional isn't it? – Quentin Apr 25 '09 at 11:21
1 Answers
1
I don't have a Rails answer, but I would suggest cutting off all lines > 75 characters.
This is how most (proper) email clients behave. Also don't forget to set the In-Reply-To: and References: headers.

Evert
- 93,428
- 18
- 118
- 189