I am using mailhandler to retrive mails from Inbox and post them to Groups. While doing so everything is working fine, other than dispalying some html tags in body. The original problem is my html is broken into lines and the second line is displaying along with html tags.
Example: If I have an anchor tag in my content as <a href="someurl.html"> it is broken into two lines as
line 1: <a
line 2: href="someurl.html"> and in body it is displaying href="someurl.html"> tag instead of making it a link.
Can anyone help me in solving this issue.
Thanks in advance,
Chandra
Comments
Comment #1
Pamulapati commentedI am able to fix it. It was the problem with imap_8bit (). This function splits input text into several lines aligned to 75 characters and encodes with some characters like =20, =OA=OD and else.
Comment #2
Pamulapati commentedI am able to fix it. It was the problem with imap_8bit (). This function splits input text into several lines aligned to 75 characters and encodes with some characters like =20, =OA=OD and else.