IMAP body formatting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LuiePL
    New Member
    • Sep 2006
    • 24

    IMAP body formatting

    I'm developing a web based email application for my website, and right now I'm working on getting on the "read" portion up and working. I would like it to only display the actual text of the message that was typed. It also repeats the message. Below is an example of it.





    --0-70050447-1167043329=:890 22
    Content-Type: text/plain; charset=iso-8859-7
    Content-Transfer-Encoding: quoted-printable

    Yes I do agree Merry Christmas to all members. Have a safe and Health New Y=
    ear.=0A =0AHoward Roun Jr.=0ASenior Dispatcher Southern New Jersey=0ANJ801=
    =0AEast Coast Radio NJ801=0A=0A=0A= 0A----- Original Message ----=0AFrom: EC=
    RN Operations =0ATo: [email]=0ASe=
    nt: Monday, December 25, 2006 12:37:33 AM=0ASubject: Merry Christmas=0A=0A =
    =0AOn behalf of the Administration of East Coast / 1st Responder Radio we=
    =A2d like to wish all our members a Safe and Merry Christmas to you and you=
    r families along with a Happy and Healthy New Year!=0A =0AAdministrati on / =
    Operations=0AEa st Coast Radio Network - Philadelphia=0A A Division of the 1s=
    t Responder Radio Network=0A"We'r e in Command"=0A[email]=
    m=0A =0Ahttp://www.eastcoast91 1.com=0Ahttp://www.1stResponde r.com=0A=0A____ =
    _______________ _______________ _______________ _=0ADo You Yahoo!?=0ATired of =
    spam? Yahoo! Mail has the best spam protection around =0Ahttp://mail.yahoo=
    .com
    --0-70050447-1167043329=:890 22
    Content-Type: text/html; charset=iso-8859-7
    Content-Transfer-Encoding: quoted-printable

    =0AYes I do agree Merry Christmas to all me=
    mbers. Have a safe and Health New Year. =0AHoward Roun Jr.=0ASenior Di=
    spatcher Southern New Jersey=0ANJ801= 0AEast Coast Radio=
    NJ801=0A=0A----- Origina=
    l Message ----From: ECRN Operations <[email]>=
    To: [email]Sent: Monday, December 25, 2006 12:37:33 AM=
    Subject: Merry Christmas=0A=0A =0A=0A=0A=0AOn behalf of the Admin=
    istration of East Coast / 1st Responder Radio we=A2d like to wis=
    h all our members a Safe and Merry Christmas to you and your families along=
    with a Happy and Healthy New Year!=0A =0A=0AAdmini=
    stration / Operations=0AEa st=
    Coast Radio Network - Philadelphia=0A A Division of the 1st=
    Responder Radio Network=0A"We'r e in Command"=0AOper ationsateastcoa st911.com=0A=
    &nb=
    sp;=0Ahttp://www.eastcoast91 1.com=0Ahttp://www.1stR=
    esponder.com =0A =
    _______________ _______________ __=
    _______________ ___Do You Yahoo!?Tired of spam? Yahoo! Mail has the=
    best spam protection around http://mail.yahoo.com
    --0-70050447-1167043329=:890 22--
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    Have a look at the 'email' classes at phpclasses.org. There you will find a couple of classes that can decode your email.

    One of those classes is Email class

    Ronald :cool:

    Comment

    Working...