mail(): can it reply with quoted text?
| From: | Chris | Date: | Wed, 01 Oct 2003 20:28:10 +0000 |
| Subject: | mail(): can it reply with quoted text? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-164621@lists.php.net to get a copy of this message | ||
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?
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/