[PHP] imap_fetchstructure error getting type,subtype,parts ??
Hi, I'm using php 4.2.3 with courier-imap, when I run the function imap_fetchstructure the return for 'type' and 'subtype' variables are always text/plain even when the content type says multipart/mixed, text/html, etc... The same happends with the 'parts' array, empty all the time. I tried diferent php, from 4.1.0 to 4.2.3. I'm running apache 1.3.27. This is an example of the returning values after an imap_fetchstructure with a multipart/related content type: -- type = 0 subtype = PLAIN ifsubtype = 1 encoding = 1 parts = imap_fetchheader: CONTENT-TYPE: MULTIPART/RELATED; BOUNDARY="=_NEXTPART_94915C5ABAF209EF376268C8" --- Any ideas ? Thanks! *** AVISO LEGAL Este mensaje es privado y confidencial y solamente para la persona a la que va dirigido. Si usted ha recibido este mensaje por error, no debe revelar, copiar, distribuir o usarlo en ningún sentido. Le rogamos lo comunique al remitente y borre dicho mensaje y cualquier documento adjunto que pudiera contener. No hay renuncia a la confidencialidad ni a ningún privilegio por causa de transmisión errónea o mal funcionamiento. Cualquier opinión expresada en este mensaje pertenece únicamente al autor remitente y no representa necesariamente la opinión de GALFIN S.A. (Galfín Sociedad de Bolsa) a no ser que expresamente se diga y el remitente esté autorizado para hacerlo. Los correos electrónicos no son seguros, no garantizan la confidencialidad ni la correcta recepción de los mismos dado que pueden ser interceptados, manipulados, destruidos, llegar con demora o incompletos o con virus. GALFIN S.A. (Galfín Sociedad de Bolsa) no se hace responsable de los cambios, alteraciones, errores u omisiones que pudieran hacerse al mensaje una vez enviado. Este mensaje sólo tiene una finalidad de información y no debe interpretarse como una oferta de venta o de compra de valores ni de instrumentos financieros relacionados. (llámese orden de pago, autorización de débito, etc).- *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] imap_fetchstructure problem
Hi, I'm using php 4.2.3 with courier-imap, when I run the function imap_fetchstructure the return for 'type' and 'subtype' variables are always text/plain even when the content type says multipart/mixed, text/html, etc... The same happends with the 'parts' array, empty all the time. I tried diferent php, from 4.1.0 to 4.2.3. I'm running apache 1.3.27. This is an example of the returning values after an imap_fetchstructure with a multipart/related content type: -- type = 0 subtype = PLAIN ifsubtype = 1 encoding = 1 parts = imap_fetchheader: CONTENT-TYPE: MULTIPART/RELATED; BOUNDARY=" =_NEXTPART_94915C5ABAF209EF376268C8" --- Any ideas ? Thanks! *** AVISO LEGAL Este mensaje es privado y confidencial y solamente para la persona a la que va dirigido. Si usted ha recibido este mensaje por error, no debe revelar, copiar, distribuir o usarlo en ningún sentido. Le rogamos lo comunique al remitente y borre dicho mensaje y cualquier documento adjunto que pudiera contener. No hay renuncia a la confidencialidad ni a ningún privilegio por causa de transmisión errónea o mal funcionamiento. Cualquier opinión expresada en este mensaje pertenece únicamente al autor remitente y no representa necesariamente la opinión de GALFIN S.A. (Galfín Sociedad de Bolsa) a no ser que expresamente se diga y el remitente esté autorizado para hacerlo. Los correos electrónicos no son seguros, no garantizan la confidencialidad ni la correcta recepción de los mismos dado que pueden ser interceptados, manipulados, destruidos, llegar con demora o incompletos o con virus. GALFIN S.A. (Galfín Sociedad de Bolsa) no se hace responsable de los cambios, alteraciones, errores u omisiones que pudieran hacerse al mensaje una vez enviado. Este mensaje sólo tiene una finalidad de información y no debe interpretarse como una oferta de venta o de compra de valores ni de instrumentos financieros relacionados. (llámese orden de pago, autorización de débito, etc).- *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php