Bug #1877

Encoding of mail not detect

Added by remi over 10 years ago. Updated over 6 years ago.

Status:ClosedStart date:10/20/2009
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Helpdesk
Target version:0.72

Description

See : http://www.glpi-project.org/forum/viewtopic.php?id=17065

see r11400

In some case, for HTML mail, encoding is not detect

Could be in the header of the HTML part (which is OK)

Content-Type: text/plain; charset="koi8-r" 

Could be in the HTML data

<meta http-equiv=Content-Type content="text/html; charset=koi8-r">

If only the second present, mail is not well decode (and the attribute is removed by html_clean)

Must take care to not decode, twice (if both present)


Related issues

Related to GLPI-PROJECT - Task #1142: Find a PHP library for receive mail problem New

History

#1 Updated by remi over 10 years ago

Perhaps searching for the TEST/PLAIN first and TEST/HTML if not found is a way to improve this

  • must take care of mail in HTML only with an text file attached (limit recursivity in get_part or take a array for mime_type and return the first part found)

#2 Updated by remi about 10 years ago

  • Assignee deleted (remi)

#3 Updated by rds about 10 years ago

At what stage of work?

#4 Updated by moyo about 10 years ago

No complete solution found and tested.
Ticket moved to 0.80 version

#5 Updated by moyo about 10 years ago

  • Target version changed from 0.72.4 to 0.78

#6 Updated by moyo about 10 years ago

  • Target version changed from 0.78 to 0.72.5

#7 Updated by moyo over 9 years ago

  • Target version changed from 0.72.5 to 33

#8 Updated by jmd about 9 years ago

  • Target version changed from 33 to 0.83

#9 Updated by moyo about 9 years ago

  • Target version changed from 0.83 to 0.84

#10 Updated by moyo almost 7 years ago

  • Target version changed from 0.84 to 0.85

#11 Updated by moyo over 6 years ago

  • Target version deleted (0.85)

#12 Updated by moyo over 6 years ago

  • Status changed from Assigned to Closed
  • Target version set to 0.72
  • % Done changed from 0 to 100

Also available in: Atom PDF