PHP 5.2.0 + qmail problem
| From: | Bc. Radek Krejca | Date: | Fri, 26 Jan 2007 08:01:25 +0000 |
| Subject: | PHP 5.2.0 + qmail problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-247809@lists.php.net to get a copy of this message | ||
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