You are here: mail() - message lines <= 70 chars « PHP Programming Language « IT news, forums, messages
mail() - message lines <= 70 chars

Posted by Matthew on 11/22/07 16:09

I'm using PHP version 4.4.3.

The manual page for PHP's mail() function (URL below) says that for the
message (IE. email body) "Each line should be separated with a LF (\n).
Lines should not be larger than 70 characters."

http://uk2.php.net/manual/en/function.mail.php

To see what happened I just sent an email using mail() with one of its
lines exactly 100 chars. It was sent perfectly by sendmail as a line of
100 chars and no newline. PHP did not seem to mind at all.

Why the limitation of <= 70 chars per line, and why does my version of PHP
not seem to care?

Thanks all.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация