Re: mail(): can it reply with quoted text?
| From: | Manuel Lemos | Date: | Wed, 01 Oct 2003 22:40:44 +0000 |
| Subject: | Re: mail(): can it reply with quoted text? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164639@lists.php.net to get a copy of this message | ||
Hello,
On 10/01/2003 05:28 PM, Chris wrote:
I wrote an ultra basic mail interface as a part of my client's customer administration area to handle emails. Basically, the standard email form gets stored in a database, and when they respond to the help request, they fill out the form and PHP emails the message. Now, they want to have the original email appear as a part of their reply. I could use wordwrap() at around 70 characters and have every line appear with the traditional '>' to indicate the replied text. It doesn't seem to be a very elegant solution for mail clients that reflow quoted text (not certain how to explain this, but Opera's mail client does it). Is there a way to for mail() to include quoted text like it was actually replying to an actual mail client would?Try this class that comes with the function QuoteText("your text here","> ") that does precisely what you need: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/