PHP Classes

Body of Message

Recommend this page to a friend!

      pop3.class.inc  >  All threads  >  Body of Message  >  (Un) Subscribe thread alerts  
Subject:Body of Message
Summary:I'm figure how to body of message...
Messages:2
Author:Jason Deery
Date:2008-01-24 18:53:26
Update:2008-01-27 10:31:27
 

  1. Body of Message   Reply   Report abuse  
Picture of Jason Deery Jason Deery - 2008-01-24 18:53:26
$email['message'] for body messages. However, there are some content-types plain, html, etc... How I get correct first html? Not (two) plain and html in same time body messages. Or safe content-type body messages?

I got two body messages weird. For example:

This is a multi-part message in MIME format.

------=_NextPart_000_0001_01C859EE.F73519C0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: 7bit

Test 2


------=_NextPart_000_0001_01C859EE.F73519C0
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Test 2

  2. Re: Body of Message   Reply   Report abuse  
Picture of Steffen Stollfuß Steffen Stollfuß - 2008-01-27 10:31:27 - In reply to message 1 from Jason Deery
Hi,

Normally this isn't possible to get "sorted" messages from the mail drop.
The messages are stored in this order they were came into the mail drop.

But you can use a trick.

With the TOP command, and in the class the top($msgnum,$lines=0) function, you can get the Message Header first and then you can order the message number how you need it and get it in this order from the mail drop.

Do you know ??

regards
j0inty