Hello,

  I had to change my mailserver from sendmail to qmail. After it I saw
  that the mail generated by function mail() has 2 newlines in body except 1.
  I have this konfiguration on server with php4xx and no problem is
  there. Also if I change back sendmail so it is working too.

  The output with this problem is:
------------------------------------------------------------------------------
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
X-Qmail-Scanner-1.25: added fake MIME-Version header
MIME-Version: 1.0

SVA6IDEwLjQuMjQuMjQyClRhcmlmOiBBS0NFIC0gSU5URVJORVQgMTAyNDAvMTAyNDAgLSAyMDQ4

TUIgRlVQIDM4NApVxb5pdmF0ZWw6IEphbiBMVUvDgcWgCkZpcm1hOiBKYW4gTFVLw4HFoApBZHJl

c2E6IEouQmVuZHkgMjgKMzcwIDA1IMSMZXNrw6kgQnVkxJtqb3ZpY2UKQnJhbmE6IDEyCkJvZDog
------------------------------------------------------------------------------

but should be
------------------------------------------------------------------------------
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
X-Qmail-Scanner-1.25: added fake MIME-Version header
MIME-Version: 1.0

SVA6IDEwLjQuMjQuMjQyClRhcmlmOiBBS0NFIC0gSU5URVJORVQgMTAyNDAvMTAyNDAgLSAyMDQ4
TUIgRlVQIDM4NApVxb5pdmF0ZWw6IEphbiBMVUvDgcWgCkZpcm1hOiBKYW4gTFVLw4HFoApBZHJl
c2E6IEouQmVuZHkgMjgKMzcwIDA1IMSMZXNrw6kgQnVkxJtqb3ZpY2UKQnJhbmE6IDEyCkJvZDog
------------------------------------------------------------------------------

  It makes me problem if I use Content-Transfer-Encoding: 8bit.

  My idea is that qmail doesn't trim body of message and newer PHP
  too bud I don't know if I am right.

  Where could be a problem?

-- 
S pozdravem,
 Bc. Radek Krejca
 ICQ: 65895541 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to