chr(13) is lost on mail retrieval
Posted: Thu Sep 21, 2006 9:30 pm
I am working on a pop3 client program using PHP and its imap group of functions. I am able to download my email but the body of the text loses all the enter keys and the message shows as continuous lines.
My code simply refers to the $msg["body'] as a whole and this is retrieved using either the imap_fetchbody, imap_base64 or the imap_qprint functions. How can I tell these functions to retain the enter keys in the emails the way I see them in my email server.
Thanks all!
My code simply refers to the $msg["body'] as a whole and this is retrieved using either the imap_fetchbody, imap_base64 or the imap_qprint functions. How can I tell these functions to retain the enter keys in the emails the way I see them in my email server.
Thanks all!