As it turns out, while the multi-parts are sent out of order, I was wrong about it reversing. When the multi-part is two, its reversed (#2, #1). When its three or more, its like this:
        #3, #1, #2

On Jan 23, 2008, at 5:35 AM, Iain Dooley wrote:

hey, i don't have any messages to reply to on this thread cos i deleted them, but if kannel reliably reverses the order of messages and you need them in the opposite order, is it a reasonably simple task to reverse long messages before you send them? in PHP:

if(strlen($msg)>160)
{
    $bits = breakMessageInto153CharacterBits($msg);
    array_reverse($bits);

    foreach($bits as $bit)
        kannelSend($bit);
}

of course you'd need to implement breakMessageInto153CharacterBits () :) that would involve a few calls to substr()... nothing too hairy or resource hungry.

cheers

iain



Reply via email to