Hi,

I have been trying to add an attribute mailReplyText for an LDAP entry. The message I was trying to store is a multiline message so I was referring to

http://www.nrg4u.com/qmail/QLDAPINSTALL
LDAP_REPLYTEXT (default: "mailReplyText")

I tried to use base64 encoded message for that attribute but it did not work. I got autoreply with encoded message string. But if I set it in plain text (even multiline, but not encoded), it works.

I am encoding this using PHP function as I am building a web application for mail users.

I used functions like this base64_encode($mymessage) and chunk_split(base64_encode($mymessage)) but both base64 strings failed.

If anyone have any Ideas what I am doing wrong? Did anyone managed to use multiline autoreply message using base64 encoding?

An example of an LDAP entry (as in LDIF file) would be a greate help.

Regards,

--
Sameer N. Ingole
/*****************************************************/
Better to light one candle than to curse the darkness.
/*****************************************************/

Reply via email to