The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Parsing EML files on Apache?

Discussion in 'EasyApache' started by sh4ka, Jul 25, 2008.

  1. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    cPanel Access Level:
    DataCenter Provider
    Hello,

    I need to open EML files on apache webserver, actually when I load an eml (outlook email message) by using an URL, it shows the email code, it is not pasing it correctly.

    What libraries (apache or system) do I need installed to parse this kind of files?

    Any ideas about this? Im using apache 2.0.6.3, php 5.2.6 and RHE 5.2

    Thank you.
     
  2. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    cPanel Access Level:
    DataCenter Provider
    It seems that the jpg files attached are encoded using base64, this is the output code while loading an eml file on apache:

    Code:
    __,_._,___ ------=_NextPart_001_0002_01C8E36E.89ACF3A0-- ------=_NextPart_000_0001_01C8E36E.89ACF3A0 Content-Type: image/jpeg; name="PS-329.jpg" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="PS-329.jpg" /9j/4AAQSkZJRgABAAEAlgCWAAD//gAfTEVBRCBUZWNobm9sb2dpZXMgSW5jLiBWMS4wMQD/2wBD AAYEBAUEBAYFBQUHBgYHCRAKCQgICRMODgsQFxQYGBYUFhYZHCQfGRsiGxYWICsgIiYnKSkpGB4t MCwoMCQoKSf/xADSAAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgsQAAIBAwMCBAMFBQQEAAAB fQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5 OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeo qaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/AAAsIArIB 4AEBEQD/2gAIAQEAAD8A+qqKqalq2n6NALjUr63soS2wSXEqxqTgnGSeuAfyrKf4g+EI+vijSOBn i9jP9aVfH/hFiAvinRyT2+3xf/FVKvjXwwx2r4j0on0F7H/jUyeKdBk+5rent/u3SH+tWY9W0+X/ AFd9bPzj5ZlP9alW7t2Hyzxn6OKU3UCjJmjA9SwppvrVetxEPq4o+22vGLiLnp84oF9altouIifT eKVbqBxlJo2HqHBqQOvYj86XIxntSGRR1YD8aA6noR0z1o3DsRShuMijNGaWiiiiiiiiiiiiiiii
    
    Any ideas?

    Thanks.
     
Loading...
Similar Threads - Parsing EML files
  1. Jake B.
    Replies:
    5
    Views:
    342

Share This Page