Fog Creek Software
Discussion Board




Mail reply indent character?

I'd like to make a feature request.

When you "reply" to an email message, could you insert some "indent character" on each line of the original message?

I often have to line-by-line responses, and I don't have a way of differentiating my response from the original message.

Eric Salituro
Monday, February 23, 2004

You can do this pretty easily right now.

In MailUtil.[asp|php]

php
----
look for function formattextastextemail
replace the last print (getmessagetext line with
print (">" . str_replace("\n", "\n>", getmessagetext($s, true)));

asp
---
look for sub FormatTextAsTextEmail
Last line reads
Response.Write GetMessageText(s, True)

Replace with
Response.Write ">" & Replace(GetMessageText(s, True), vbCrLf, vbCrLf & ">")

Michael H. Pryor
Fog Creek Software
Tuesday, February 24, 2004

Thanks.
That works great!

Eric Salituro
Wednesday, March 03, 2004

*  Recent Topics

*  Fog Creek Home