PHP Classes

Body of Message

Recommend this page to a friend!  >  All threads  >  Body of Message  >  (Un) Subscribe thread alerts  
Subject:Body of Message
Summary:I'm figure how to body of message...
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.

Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Test 2

Content-Type: text/html;
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

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 ??


For more information send a message to info at phpclasses dot org.