Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle different subject encodings #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alaindenzler
Copy link

I was experiencing some strange and unreadable subject titles, due to different encodings from different mail sources. For now, I just took the imap_mime_header_decode function. Altough this makes the library dependant on the php imap functions, it seemed to be the cleanest solution.

Feedback is appreciated.

@plancake
Copy link
Collaborator

Hi.

Thanks for this.

Maybe I can check whether the IMAP extension is present and use old style
or better new one.

Cheers,
Dan

On Mon, Jun 11, 2012 at 10:22 AM, alaindenzler <
[email protected]

wrote:

I was experiencing some strange and unreadable subject titles, due to
different encodings from different mail sources. For now, I just took the
imap_mime_header_decode function. Altough this makes the library dependant
on the php imap functions, it seemed to be the cleanest solution.

Feedback is appreciated.

You can merge this Pull Request by running:

git pull
https://github.com/alaindenzler/official-library-php-email-parser master

Or you can view, comment on it, or merge it online at:

#6

-- Commit Summary --

  • fix subject encodings

-- File Changes --

M PlancakeEmailParser.php (7)

-- Patch Links --

https://github.com/plancake/official-library-php-email-parser/pull/6.patch
https://github.com/plancake/official-library-php-email-parser/pull/6.diff


Reply to this email directly or view it on GitHub:
#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants