On Feb 26, 2009, at 2:28 AM, Alexandru Stanoi wrote: > Dave Fischetti wrote: >> Hey all. Is it possible to read the value in a mail file for >> Content-Transfer-Encoding? I need to check if its Base64 encoded >> and decode it. any help to do this would be appreciated. > > You can use $mail->getHeader( 'Content-Transfer-Encoding' ) where > $mail is an ezcMail object. If the header is missing from the mail > then an empty string will be returned. > > -- > Alexandru Stanoi > System Developer > eZ Systems | http://ez.no
Thanks Alex, after I posted here I continued to do some more research. Am I correct in assuming that when I parse the body of the message EZ automatically decodes messages that are base64 encoded? From one piece of documentation it seems that way. Thx Dave -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components