Re: Re: Embedded Email Directives
| From: | Manuel Lemos | Date: | Sat, 17 Jul 2004 01:59:05 +0000 |
| Subject: | Re: Re: Embedded Email Directives | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190802@lists.php.net to get a copy of this message | ||
Hello,
On 07/16/2004 10:49 PM, Curt Zirzow wrote:
Read the source first to learn more about it. -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.htmlThe mail() function does not do any filtering.For SMTP, all lines should be ended with CR+LF, or else messages may be discarded by spam filters or other programs. However, if you use the mail() function it may do some filtering on its own.remove carriage returns to prevent embedded email directivesIn an other thread, I readed that sentence. I'm interested to find more information about that. I have some mail forms and want to make them as secure and possible, but do not know about what and where should I filter. Should I filter all CR and LF Just in headers or also I should do that in the message body? (Which is sent in the SMTP DATA section).