From: Arnaud A. <arn...@sc...> - 2002-10-01 07:39:03
|
Hello, I am working on a plugin to import unix mbox mailboxes (netscape, eudora, etc) into a given folder. A lot of our users used to use Eudora and would like to be able to import their old msg from their old pop account into the webmail. The plugin is working fairly well as long as you don't try to import huge mailboxes (i imported a 40Mb mailbox with 11500 msg in 2 minutes) The plugin works like this: i read the mbox file then when i got a whole mail i inject the mail into the folder thru imap. So the mails in injected as is into the imap server. Now, here is my problem: if i have html mails (text/html content-type) the importer importe them without any problem (if i check the folder on the server directly from the shell, i see the mails were properly imported, i can see the html tags and everything). But when i display the mails in squirrelmail all the html tags have been stripped. Should i modify the headers before injecting the mail to the imap server so squirrelmail could detect the mail is in html and don't strip the tags? Thanks, Arnaud -- Arnaud Abélard Administrateur réseaux et systèmes Irin / Faculté de Sciences Université de Nantes |