Le 2 oct. 07 à 09:03, Paul Lesniewski a écrit :

[...]

All I can suggest is to show the HTML code for your compose screen
after you have added one attachment.  After you capture that HTML,
make sure adding another attachment or sending that message as is
results in the loss of the attachment that had been added when you
captured the HTML.

Also, you can find this in src/compose.php around line 379:

if (!empty($attachments)) {
    $attachments = unserialize($attachments);
    if (!empty($attachments) && is_array($attachments))
        $composeMessage->entities = $attachments;
}

Change it to:

if (!empty($attachments)) {
    $attachments = unserialize($attachments);
sm_print_r('ATTACHMENTS REINIT:', $attachments);
    if (!empty($attachments) && is_array($attachments))
        $composeMessage->entities = $attachments;
sm_print_r('COMPOSE MESSAGE:', $composeMessage);
} else {
    echo "<hr />ATTACHMENTS ARE EMPTY<hr />";
    sm_print_r($_POST);
}




We are running apache 1.3.33 whith PHP 4.4.4

The configure options for PHP are :

'./configure' '--prefix=/usr/local/php' '--with-tsrm-pthreads' '-- with-ldap=/usr' '--with-apxs=/usr/apache/bin/apxs' '--with-regex=php' '--with-gettext=/usr/local' '--with-zlib=/usr' '--with-expat-dir=/usr/ sfw' '--with-pear' '--with-iconv' '--enable-ftp' '--enable-sigchild' '--enable-tokenizer' '--enable-debug' '--enable-cli' '--enable-track- vars' '--enable-mbstring' '--enable-maintainer-zts' '--disable-ipv6' '--disable-cgi' '--disable-dba' '--disable-soap' '--disable-calendar' '--without-mysql' '--without-aspell' '--without-pspell' '--without- cpdflib' '--without-imap' '--without-sqlite' '--without-xsl' '-- disable-pdo'


And the modules loaded by apache are :

mod_php4, mod_setenvif, mod_so, mod_unique_id, mod_usertrack, mod_headers, mod_expires, mod_access, mod_rewrite, mod_alias, mod_actions, mod_asis, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_referer, mod_log_agent, mod_log_config, mod_define, mod_env, mod_mmap_static, http_core



You will find in attachment

1) debug-compose-1.4.10a.txt : an output of the version 1.4.10a
   I have put the following inh compose.php (line 358):

   sm_print_r('COMPOSE MESSAGE:', $composeMessage);

   if (!isset($mailbox) || $mailbox == '' || ($mailbox == 'None')) {
       $mailbox = 'INBOX';
   }

   All is fine with that version

2) debug-compose-1.4.11-test1.txt : an output when all our plugins are active

3) debug-compose-1.4.11-test2.txt : an output when all the plugins are inactive

3) debug-compose-1.4.11-test3.txt : an output when I send the mail whitout adding the second attachement. I only choose it.
   In that case I receive the last choosen attachment

From: Pascal Maes <[EMAIL PROTECTED]>
Subject: test 1.4.11 ; no plugs; two choose ; one add
To: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED] dc.ucl.ac.be>
MIME-version: 1.0
Content-type: multipart/mixed; boundary="----=_20071002131113_55643"
Importance: Normal
X-Priority: 3 (Normal)
User-Agent: SquirrelMail/1.4.11

------=_20071002131113_55643
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

test 1.4.11 ; no plugs; two choose ; one add

--
Pascal
------=_20071002131113_55643
Content-Type: image/jpeg; name="78963130li.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="78963130li.jpg"

4) debug-compose-1.4.11-test4.txt : the output whith the ATTACH ARRAY
In that case, as the two attachments were added, I don't receive ny of them.

From: Pascal Maes <[EMAIL PROTECTED]>
Subject: test 1.4.11 + ATTACH ARRAY
To: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED] dc.ucl.ac.be>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Importance: Normal
X-Priority: 3 (Normal)
User-Agent: SquirrelMail/1.4.11

test 1.4.11 + ATTACH ARRAY


Hope this helps
Thanks
--
Pascal

1) Entering compose.php

COMPOSE MESSAGE:
message Object
(
    [rfc822_header] => rfc822header Object
        (
            [date] => -1
            [date_unparsed] => 
            [subject] => 
            [from] => Array
                (
                )

            [sender] => 
            [reply_to] => Array
                (
                )

            [mail_followup_to] => Array
                (
                )

            [to] => Array
                (
                )

            [cc] => Array
                (
                )

            [bcc] => Array
                (
                )

            [in_reply_to] => 
            [message_id] => 
            [references] => 
            [mime] => 
            [content_type] => 
            [disposition] => 
            [xmailer] => 
            [priority] => 3
            [dnt] => 
            [encoding] => 
            [mlist] => Array
                (
                )

            [x_spam_status] => Array
                (
                )

            [more_headers] => Array
                (
                )

        )

    [mime_header] => 
    [flags] => 
    [type0] => 
    [type1] => 
    [entities] => Array
        (
        )

    [entity_id] => 
    [parent_ent] => 
    [entity] => 
    [parent] => 
    [decoded_body] => 
    [is_seen] => 0
    [is_answered] => 0
    [is_deleted] => 0
    [is_flagged] => 0
    [is_mdnsent] => 0
    [body_part] => 
    [offset] => 0
    [length] => 0
    [att_local_name] => 
    [reply_rfc822_header] => 
)


After first add

COMPOSE MESSAGE:
message Object
(
    [rfc822_header] => rfc822header Object
        (
            [date] => -1
            [date_unparsed] => 
            [subject] => 
            [from] => Array
                (
                )

            [sender] => 
            [reply_to] => Array
                (
                )

            [mail_followup_to] => Array
                (
                )

            [to] => Array
                (
                )

            [cc] => Array
                (
                )

            [bcc] => Array
                (
                )

            [in_reply_to] => 
            [message_id] => 
            [references] => 
            [mime] => 
            [content_type] => 
            [disposition] => 
            [xmailer] => 
            [priority] => 3
            [dnt] => 
            [encoding] => 
            [mlist] => Array
                (
                )

            [x_spam_status] => Array
                (
                )

            [more_headers] => Array
                (
                )

        )

    [mime_header] => 
    [flags] => 
    [type0] => 
    [type1] => 
    [entities] => Array
        (
        )

    [entity_id] => 
    [parent_ent] => 
    [entity] => 
    [parent] => 
    [decoded_body] => 
    [is_seen] => 0
    [is_answered] => 0
    [is_deleted] => 0
    [is_flagged] => 0
    [is_mdnsent] => 0
    [body_part] => 
    [offset] => 0
    [length] => 0
    [att_local_name] => 
    [reply_rfc822_header] => 
)


After second Add :

COMPOSE MESSAGE:
message Object
(
    [rfc822_header] => rfc822header Object
        (
            [date] => -1
            [date_unparsed] => 
            [subject] => 
            [from] => Array
                (
                )

            [sender] => 
            [reply_to] => Array
                (
                )

            [mail_followup_to] => Array
                (
                )

            [to] => Array
                (
                )

            [cc] => Array
                (
                )

            [bcc] => Array
                (
                )

            [in_reply_to] => 
            [message_id] => 
            [references] => 
            [mime] => 
            [content_type] => 
            [disposition] => 
            [xmailer] => 
            [priority] => 3
            [dnt] => 
            [encoding] => 
            [mlist] => Array
                (
                )

            [x_spam_status] => Array
                (
                )

            [more_headers] => Array
                (
                )

        )

    [mime_header] => 
    [flags] => 
    [type0] => 
    [type1] => 
    [entities] => Array
        (
            [0] => message Object
                (
                    [rfc822_header] => 
                    [mime_header] => messageheader Object
                        (
                            [type0] => image
                            [type1] => jpeg
                            [parameters] => Array
                                (
                                    [name] => a1.jpg
                                )

                            [id] => 0
                            [description] => 
                            [encoding] => 
                            [size] => 0
                            [md5] => 
                            [disposition] => disposition Object
                                (
                                    [name] => attachment
                                    [properties] => Array
                                        (
                                            [filename] => a1.jpg
                                        )

                                )

                            [language] => 
                        )

                    [flags] => 
                    [type0] => 
                    [type1] => 
                    [entities] => Array
                        (
                        )

                    [entity_id] => 
                    [parent_ent] => 
                    [entity] => 
                    [parent] => 
                    [decoded_body] => 
                    [is_seen] => 0
                    [is_answered] => 0
                    [is_deleted] => 0
                    [is_flagged] => 0
                    [is_mdnsent] => 0
                    [body_part] => 
                    [offset] => 0
                    [length] => 0
                    [att_local_name] => 
/export/squirrelmail/attach/6/e/2/f/YX6op0pYHCcJYByJoJPPB69uVKOfyPvn
                )

        )

    [entity_id] => 
    [parent_ent] => 
    [entity] => 
    [parent] => 
    [decoded_body] => 
    [is_seen] => 0
    [is_answered] => 0
    [is_deleted] => 0
    [is_flagged] => 0
    [is_mdnsent] => 0
    [body_part] => 
    [offset] => 0
    [length] => 0
    [att_local_name] => 
    [reply_rfc822_header] => 
)


After Send :

COMPOSE MESSAGE:
message Object
(
    [rfc822_header] => rfc822header Object
        (
            [date] => -1
            [date_unparsed] => 
            [subject] => 
            [from] => Array
                (
                )

            [sender] => 
            [reply_to] => Array
                (
                )

            [mail_followup_to] => Array
                (
                )

            [to] => Array
                (
                )

            [cc] => Array
                (
                )

            [bcc] => Array
                (
                )

            [in_reply_to] => 
            [message_id] => 
            [references] => 
            [mime] => 
            [content_type] => 
            [disposition] => 
            [xmailer] => 
            [priority] => 3
            [dnt] => 
            [encoding] => 
            [mlist] => Array
                (
                )

            [x_spam_status] => Array
                (
                )

            [more_headers] => Array
                (
                )

        )

    [mime_header] => 
    [flags] => 
    [type0] => 
    [type1] => 
    [entities] => Array
        (
            [0] => message Object
                (
                    [rfc822_header] => 
                    [mime_header] => messageheader Object
                        (
                            [type0] => image
                            [type1] => jpeg
                            [parameters] => Array
                                (
                                    [name] => a1.jpg
                                )

                            [id] => 0
                            [description] => 
                            [encoding] => 
                            [size] => 0
                            [md5] => 
                            [disposition] => disposition Object
                                (
                                    [name] => attachment
                                    [properties] => Array
                                        (
                                            [filename] => a1.jpg
                                        )

                                )

                            [language] => 
                        )

                    [flags] => 
                    [type0] => 
                    [type1] => 
                    [entities] => Array
                        (
                        )

                    [entity_id] => 
                    [parent_ent] => 
                    [entity] => 
                    [parent] => 
                    [decoded_body] => 
                    [is_seen] => 0
                    [is_answered] => 0
                    [is_deleted] => 0
                    [is_flagged] => 0
                    [is_mdnsent] => 0
                    [body_part] => 
                    [offset] => 0
                    [length] => 0
                    [att_local_name] => 
/export/squirrelmail/attach/6/e/2/f/YX6op0pYHCcJYByJoJPPB69uVKOfyPvn
                )

            [1] => message Object
                (
                    [rfc822_header] => 
                    [mime_header] => messageheader Object
                        (
                            [type0] => image
                            [type1] => jpeg
                            [parameters] => Array
                                (
                                    [name] => 78963130li.jpg
                                )

                            [id] => 0
                            [description] => 
                            [encoding] => 
                            [size] => 0
                            [md5] => 
                            [disposition] => disposition Object
                                (
                                    [name] => attachment
                                    [properties] => Array
                                        (
                                            [filename] => 78963130li.jpg
                                        )

                                )

                            [language] => 
                        )

                    [flags] => 
                    [type0] => 
                    [type1] => 
                    [entities] => Array
                        (
                        )

                    [entity_id] => 
                    [parent_ent] => 
                    [entity] => 
                    [parent] => 
                    [decoded_body] => 
                    [is_seen] => 0
                    [is_answered] => 0
                    [is_deleted] => 0
                    [is_flagged] => 0
                    [is_mdnsent] => 0
                    [body_part] => 
                    [offset] => 0
                    [length] => 0
                    [att_local_name] => 
/export/squirrelmail/attach/6/e/2/f/RKzTZ90UKEsp334s1T5UBMmQNSgdXxI8
                )

        )

    [entity_id] => 
    [parent_ent] => 
    [entity] => 
    [parent] => 
    [decoded_body] => 
    [is_seen] => 0
    [is_answered] => 0
    [is_deleted] => 0
    [is_flagged] => 0
    [is_mdnsent] => 0
    [body_part] => 
    [offset] => 0
    [length] => 0
    [att_local_name] => 
    [reply_rfc822_header] => 
)



1) Entering compose

ATTACHMENTS ARE EMPTY
Array
(
)

2) After first Add (of a1.jpg)

ATTACHMENTS ARE EMPTY
Array
(
    [startMessage] => 1
    [session] => 1
    [passed_id] => 
    [identity] => 0
    [send_to] => [EMAIL PROTECTED]
    [send_to_cc] => 
    [send_to_bcc] => 
    [subject] => TEST 1.4.11
    [mailprio] => 3
    [body] => 
TEST 1.4.11

-- 
Pascal
    [attach] => Add
    [MAX_FILE_SIZE] => 8388608
    [username] => pmaes
    [smaction] => 
    [mailbox] => INBOX
    [composesession] => 1
    [querystring] => mailbox=INBOX&startMessage=1
)


3) After second Add (of 78963130li.jpg)

ATTACHMENTS REINIT:
Array
(
    [0] => message Object
        (
            [rfc822_header] => 
            [mime_header] => messageheader Object
                (
                    [type0] => image
                    [type1] => jpeg
                    [parameters] => Array
                        (
                            [name] => a1.jpg
                        )

                    [id] => 0
                    [description] => 
                    [encoding] => 
                    [size] => 0
                    [md5] => 
                    [disposition] => disposition Object
                        (
                            [name] => attachment
                            [properties] => Array
                                (
                                    [filename] => a1.jpg
                                )

                        )

                    [language] => 
                )

            [flags] => 
            [type0] => 
            [type1] => 
            [entities] => Array
                (
                )

            [entity_id] => 
            [parent_ent] => 
            [entity] => 
            [parent] => 
            [decoded_body] => 
            [is_seen] => 0
            [is_answered] => 0
            [is_deleted] => 0
            [is_flagged] => 0
            [is_mdnsent] => 0
            [body_part] => 
            [offset] => 0
            [length] => 0
            [att_local_name] => RgglA5q2JGOGtXawdzyGASRvvMOFaGn6
        )

)

COMPOSE MESSAGE:
message Object
(
    [rfc822_header] => rfc822header Object
        (
            [date] => -1
            [date_unparsed] => 
            [subject] => 
            [from] => Array
                (
                )

            [sender] => 
            [reply_to] => Array
                (
                )

            [mail_followup_to] => Array
                (
                )

            [to] => Array
                (
                )

            [cc] => Array
                (
                )

            [bcc] => Array
                (
                )

            [in_reply_to] => 
            [message_id] => 
            [references] => 
            [mime] => 
            [content_type] => 
            [disposition] => 
            [xmailer] => 
            [priority] => 3
            [dnt] => 
            [encoding] => 
            [mlist] => Array
                (
                )

            [x_spam_status] => Array
                (
                )

            [more_headers] => Array
                (
                )

        )

    [mime_header] => 
    [flags] => 
    [type0] => 
    [type1] => 
    [entities] => Array
        (
            [0] => message Object
                (
                    [rfc822_header] => 
                    [mime_header] => messageheader Object
                        (
                            [type0] => image
                            [type1] => jpeg
                            [parameters] => Array
                                (
                                    [name] => a1.jpg
                                )

                            [id] => 0
                            [description] => 
                            [encoding] => 
                            [size] => 0
                            [md5] => 
                            [disposition] => disposition Object
                                (
                                    [name] => attachment
                                    [properties] => Array
                                        (
                                            [filename] => a1.jpg
                                        )

                                )

                            [language] => 
                        )

                    [flags] => 
                    [type0] => 
                    [type1] => 
                    [entities] => Array
                        (
                        )

                    [entity_id] => 
                    [parent_ent] => 
                    [entity] => 
                    [parent] => 
                    [decoded_body] => 
                    [is_seen] => 0
                    [is_answered] => 0
                    [is_deleted] => 0
                    [is_flagged] => 0
                    [is_mdnsent] => 0
                    [body_part] => 
                    [offset] => 0
                    [length] => 0
                    [att_local_name] => RgglA5q2JGOGtXawdzyGASRvvMOFaGn6
                )

        )

    [entity_id] => 
    [parent_ent] => 
    [entity] => 
    [parent] => 
    [decoded_body] => 
    [is_seen] => 0
    [is_answered] => 0
    [is_deleted] => 0
    [is_flagged] => 0
    [is_mdnsent] => 0
    [body_part] => 
    [offset] => 0
    [length] => 0
    [att_local_name] => 
    [reply_rfc822_header] => 
)

4) After send

ATTACHMENTS REINIT:
Array
(
    [0] => message Object
        (
            [rfc822_header] => 
            [mime_header] => messageheader Object
                (
                    [type0] => image
                    [type1] => jpeg
                    [parameters] => Array
                        (
                            [name] => 78963130li.jpg
                        )

                    [id] => 0
                    [description] => 
                    [encoding] => 
                    [size] => 0
                    [md5] => 
                    [disposition] => disposition Object
                        (
                            [name] => attachment
                            [properties] => Array
                                (
                                    [filename] => 78963130li.jpg
                                )

                        )

                    [language] => 
                )

            [flags] => 
            [type0] => 
            [type1] => 
            [entities] => Array
                (
                )

            [entity_id] => 
            [parent_ent] => 
            [entity] => 
            [parent] => 
            [decoded_body] => 
            [is_seen] => 0
            [is_answered] => 0
            [is_deleted] => 0
            [is_flagged] => 0
            [is_mdnsent] => 0
            [body_part] => 
            [offset] => 0
            [length] => 0
            [att_local_name] => kDwyYrqCM20Thq6w6UHtsb9BNtGU8sa7
        )

)

COMPOSE MESSAGE:
message Object
(
    [rfc822_header] => rfc822header Object
        (
            [date] => -1
            [date_unparsed] => 
            [subject] => 
            [from] => Array
                (
                )

            [sender] => 
            [reply_to] => Array
                (
                )

            [mail_followup_to] => Array
                (
                )

            [to] => Array
                (
                )

            [cc] => Array
                (
                )

            [bcc] => Array
                (
                )

            [in_reply_to] => 
            [message_id] => 
            [references] => 
            [mime] => 
            [content_type] => 
            [disposition] => 
            [xmailer] => 
            [priority] => 3
            [dnt] => 
            [encoding] => 
            [mlist] => Array
                (
                )

            [x_spam_status] => Array
                (
                )

            [more_headers] => Array
                (
                )

        )

    [mime_header] => 
    [flags] => 
    [type0] => 
    [type1] => 
    [entities] => Array
        (
            [0] => message Object
                (
                    [rfc822_header] => 
                    [mime_header] => messageheader Object
                        (
                            [type0] => image
                            [type1] => jpeg
                            [parameters] => Array
                                (
                                    [name] => 78963130li.jpg
                                )

                            [id] => 0
                            [description] => 
                            [encoding] => 
                            [size] => 0
                            [md5] => 
                            [disposition] => disposition Object
                                (
                                    [name] => attachment
                                    [properties] => Array
                                        (
                                            [filename] => 78963130li.jpg
                                        )

                                )

                            [language] => 
                        )

                    [flags] => 
                    [type0] => 
                    [type1] => 
                    [entities] => Array
                        (
                        )

                    [entity_id] => 
                    [parent_ent] => 
                    [entity] => 
                    [parent] => 
                    [decoded_body] => 
                    [is_seen] => 0
                    [is_answered] => 0
                    [is_deleted] => 0
                    [is_flagged] => 0
                    [is_mdnsent] => 0
                    [body_part] => 
                    [offset] => 0
                    [length] => 0
                    [att_local_name] => kDwyYrqCM20Thq6w6UHtsb9BNtGU8sa7
                )

        )

    [entity_id] => 
    [parent_ent] => 
    [entity] => 
    [parent] => 
    [decoded_body] => 
    [is_seen] => 0
    [is_answered] => 0
    [is_deleted] => 0
    [is_flagged] => 0
    [is_mdnsent] => 0
    [body_part] => 
    [offset] => 0
    [length] => 0
    [att_local_name] => 
    [reply_rfc822_header] => 
)


1) entering compose

ATTACHMENTS ARE EMPTY
Array
(
)

2) After Add (of a1.jpg)

ATTACHMENTS ARE EMPTY
Array
(
    [startMessage] => 1
    [session] => 1
    [passed_id] => 
    [identity] => 0
    [send_to] => [EMAIL PROTECTED]
    [send_to_cc] => 
    [send_to_bcc] => 
    [subject] => test 1.4.11 without any plugin
    [mailprio] => 3
    [body] => 
test 1.4.11 without any plugin

-- 
Pascal
    [attach] => Ajouter
    [MAX_FILE_SIZE] => 8388608
    [username] => pmaes
    [smaction] => 
    [mailbox] => INBOX
    [composesession] => 1
    [querystring] => mailbox=INBOX&startMessage=1
)


2) After Add (of 78963130li.jpg)

ATTACHMENTS REINIT:
Array
(
    [0] => message Object
        (
            [rfc822_header] => 
            [mime_header] => messageheader Object
                (
                    [type0] => image
                    [type1] => jpeg
                    [parameters] => Array
                        (
                            [name] => a1.jpg
                        )

                    [id] => 0
                    [description] => 
                    [encoding] => 
                    [size] => 0
                    [md5] => 
                    [disposition] => disposition Object
                        (
                            [name] => attachment
                            [properties] => Array
                                (
                                    [filename] => a1.jpg
                                )

                        )

                    [language] => 
                )

            [flags] => 
            [type0] => 
            [type1] => 
            [entities] => Array
                (
                )

            [entity_id] => 
            [parent_ent] => 
            [entity] => 
            [parent] => 
            [decoded_body] => 
            [is_seen] => 0
            [is_answered] => 0
            [is_deleted] => 0
            [is_flagged] => 0
            [is_mdnsent] => 0
            [body_part] => 
            [offset] => 0
            [length] => 0
            [att_local_name] => yDJT4ETiUT65Fq1r2UGdHeQPkR8uasdz
        )

)

COMPOSE MESSAGE:
message Object
(
    [rfc822_header] => rfc822header Object
        (
            [date] => -1
            [date_unparsed] => 
            [subject] => 
            [from] => Array
                (
                )

            [sender] => 
            [reply_to] => Array
                (
                )

            [mail_followup_to] => Array
                (
                )

            [to] => Array
                (
                )

            [cc] => Array
                (
                )

            [bcc] => Array
                (
                )

            [in_reply_to] => 
            [message_id] => 
            [references] => 
            [mime] => 
            [content_type] => 
            [disposition] => 
            [xmailer] => 
            [priority] => 3
            [dnt] => 
            [encoding] => 
            [mlist] => Array
                (
                )

            [x_spam_status] => Array
                (
                )

            [more_headers] => Array
                (
                )

        )

    [mime_header] => 
    [flags] => 
    [type0] => 
    [type1] => 
    [entities] => Array
        (
            [0] => message Object
                (
                    [rfc822_header] => 
                    [mime_header] => messageheader Object
                        (
                            [type0] => image
                            [type1] => jpeg
                            [parameters] => Array
                                (
                                    [name] => a1.jpg
                                )

                            [id] => 0
                            [description] => 
                            [encoding] => 
                            [size] => 0
                            [md5] => 
                            [disposition] => disposition Object
                                (
                                    [name] => attachment
                                    [properties] => Array
                                        (
                                            [filename] => a1.jpg
                                        )

                                )

                            [language] => 
                        )

                    [flags] => 
                    [type0] => 
                    [type1] => 
                    [entities] => Array
                        (
                        )

                    [entity_id] => 
                    [parent_ent] => 
                    [entity] => 
                    [parent] => 
                    [decoded_body] => 
                    [is_seen] => 0
                    [is_answered] => 0
                    [is_deleted] => 0
                    [is_flagged] => 0
                    [is_mdnsent] => 0
                    [body_part] => 
                    [offset] => 0
                    [length] => 0
                    [att_local_name] => yDJT4ETiUT65Fq1r2UGdHeQPkR8uasdz
                )

        )

    [entity_id] => 
    [parent_ent] => 
    [entity] => 
    [parent] => 
    [decoded_body] => 
    [is_seen] => 0
    [is_answered] => 0
    [is_deleted] => 0
    [is_flagged] => 0
    [is_mdnsent] => 0
    [body_part] => 
    [offset] => 0
    [length] => 0
    [att_local_name] => 
    [reply_rfc822_header] => 
)

3) After Send

ATTACHMENTS REINIT:
Array
(
    [0] => message Object
        (
            [rfc822_header] => 
            [mime_header] => messageheader Object
                (
                    [type0] => image
                    [type1] => jpeg
                    [parameters] => Array
                        (
                            [name] => 78963130li.jpg
                        )

                    [id] => 0
                    [description] => 
                    [encoding] => 
                    [size] => 0
                    [md5] => 
                    [disposition] => disposition Object
                        (
                            [name] => attachment
                            [properties] => Array
                                (
                                    [filename] => 78963130li.jpg
                                )

                        )

                    [language] => 
                )

            [flags] => 
            [type0] => 
            [type1] => 
            [entities] => Array
                (
                )

            [entity_id] => 
            [parent_ent] => 
            [entity] => 
            [parent] => 
            [decoded_body] => 
            [is_seen] => 0
            [is_answered] => 0
            [is_deleted] => 0
            [is_flagged] => 0
            [is_mdnsent] => 0
            [body_part] => 
            [offset] => 0
            [length] => 0
            [att_local_name] => o7JaeHvsyPnmnpOlNXw9tuBR0QanK7rX
        )

)

COMPOSE MESSAGE:
message Object
(
    [rfc822_header] => rfc822header Object
        (
            [date] => -1
            [date_unparsed] => 
            [subject] => 
            [from] => Array
                (
                )

            [sender] => 
            [reply_to] => Array
                (
                )

            [mail_followup_to] => Array
                (
                )

            [to] => Array
                (
                )

            [cc] => Array
                (
                )

            [bcc] => Array
                (
                )

            [in_reply_to] => 
            [message_id] => 
            [references] => 
            [mime] => 
            [content_type] => 
            [disposition] => 
            [xmailer] => 
            [priority] => 3
            [dnt] => 
            [encoding] => 
            [mlist] => Array
                (
                )

            [x_spam_status] => Array
                (
                )

            [more_headers] => Array
                (
                )

        )

    [mime_header] => 
    [flags] => 
    [type0] => 
    [type1] => 
    [entities] => Array
        (
            [0] => message Object
                (
                    [rfc822_header] => 
                    [mime_header] => messageheader Object
                        (
                            [type0] => image
                            [type1] => jpeg
                            [parameters] => Array
                                (
                                    [name] => 78963130li.jpg
                                )

                            [id] => 0
                            [description] => 
                            [encoding] => 
                            [size] => 0
                            [md5] => 
                            [disposition] => disposition Object
                                (
                                    [name] => attachment
                                    [properties] => Array
                                        (
                                            [filename] => 78963130li.jpg
                                        )

                                )

                            [language] => 
                        )

                    [flags] => 
                    [type0] => 
                    [type1] => 
                    [entities] => Array
                        (
                        )

                    [entity_id] => 
                    [parent_ent] => 
                    [entity] => 
                    [parent] => 
                    [decoded_body] => 
                    [is_seen] => 0
                    [is_answered] => 0
                    [is_deleted] => 0
                    [is_flagged] => 0
                    [is_mdnsent] => 0
                    [body_part] => 
                    [offset] => 0
                    [length] => 0
                    [att_local_name] => o7JaeHvsyPnmnpOlNXw9tuBR0QanK7rX
                )

        )

    [entity_id] => 
    [parent_ent] => 
    [entity] => 
    [parent] => 
    [decoded_body] => 
    [is_seen] => 0
    [is_answered] => 0
    [is_deleted] => 0
    [is_flagged] => 0
    [is_mdnsent] => 0
    [body_part] => 
    [offset] => 0
    [length] => 0
    [att_local_name] => 
    [reply_rfc822_header] => 
)



1) Entering compose

ATTACHMENTS ARE EMPTY
Array
(
)

2) After Add (of a1.jpg)

ATTACHMENTS ARE EMPTY
Array
(
    [startMessage] => 1
    [session] => 2
    [passed_id] => 
    [identity] => 0
    [send_to] => [EMAIL PROTECTED]
    [send_to_cc] => 
    [send_to_bcc] => 
    [subject] => test 1.4.11 ; no plugs; two choose ; one add
    [mailprio] => 3
    [body] => 
test 1.4.11 ; no plugs; two choose ; one add

-- 
Pascal
    [attach] => Ajouter
    [MAX_FILE_SIZE] => 8388608
    [username] => pmaes
    [smaction] => 
    [mailbox] => INBOX
    [composesession] => 2
    [querystring] => mailbox=INBOX&startMessage=1
)

3) Choose of 7896313li.jpg

No change

3) After Send


ATTACHMENTS REINIT:
Array
(
    [0] => message Object
        (
            [rfc822_header] => 
            [mime_header] => messageheader Object
                (
                    [type0] => image
                    [type1] => jpeg
                    [parameters] => Array
                        (
                            [name] => a1.jpg
                        )

                    [id] => 0
                    [description] => 
                    [encoding] => 
                    [size] => 0
                    [md5] => 
                    [disposition] => disposition Object
                        (
                            [name] => attachment
                            [properties] => Array
                                (
                                    [filename] => a1.jpg
                                )

                        )

                    [language] => 
                )

            [flags] => 
            [type0] => 
            [type1] => 
            [entities] => Array
                (
                )

            [entity_id] => 
            [parent_ent] => 
            [entity] => 
            [parent] => 
            [decoded_body] => 
            [is_seen] => 0
            [is_answered] => 0
            [is_deleted] => 0
            [is_flagged] => 0
            [is_mdnsent] => 0
            [body_part] => 
            [offset] => 0
            [length] => 0
            [att_local_name] => xRFJ8iszBL8e8if0kWmQiSjEYd5jBtXW
        )

)

COMPOSE MESSAGE:
message Object
(
    [rfc822_header] => rfc822header Object
        (
            [date] => -1
            [date_unparsed] => 
            [subject] => 
            [from] => Array
                (
                )

            [sender] => 
            [reply_to] => Array
                (
                )

            [mail_followup_to] => Array
                (
                )

            [to] => Array
                (
                )

            [cc] => Array
                (
                )

            [bcc] => Array
                (
                )

            [in_reply_to] => 
            [message_id] => 
            [references] => 
            [mime] => 
            [content_type] => 
            [disposition] => 
            [xmailer] => 
            [priority] => 3
            [dnt] => 
            [encoding] => 
            [mlist] => Array
                (
                )

            [x_spam_status] => Array
                (
                )

            [more_headers] => Array
                (
                )

        )

    [mime_header] => 
    [flags] => 
    [type0] => 
    [type1] => 
    [entities] => Array
        (
            [0] => message Object
                (
                    [rfc822_header] => 
                    [mime_header] => messageheader Object
                        (
                            [type0] => image
                            [type1] => jpeg
                            [parameters] => Array
                                (
                                    [name] => a1.jpg
                                )

                            [id] => 0
                            [description] => 
                            [encoding] => 
                            [size] => 0
                            [md5] => 
                            [disposition] => disposition Object
                                (
                                    [name] => attachment
                                    [properties] => Array
                                        (
                                            [filename] => a1.jpg
                                        )

                                )

                            [language] => 
                        )

                    [flags] => 
                    [type0] => 
                    [type1] => 
                    [entities] => Array
                        (
                        )

                    [entity_id] => 
                    [parent_ent] => 
                    [entity] => 
                    [parent] => 
                    [decoded_body] => 
                    [is_seen] => 0
                    [is_answered] => 0
                    [is_deleted] => 0
                    [is_flagged] => 0
                    [is_mdnsent] => 0
                    [body_part] => 
                    [offset] => 0
                    [length] => 0
                    [att_local_name] => xRFJ8iszBL8e8if0kWmQiSjEYd5jBtXW
                )

        )

    [entity_id] => 
    [parent_ent] => 
    [entity] => 
    [parent] => 
    [decoded_body] => 
    [is_seen] => 0
    [is_answered] => 0
    [is_deleted] => 0
    [is_flagged] => 0
    [is_mdnsent] => 0
    [body_part] => 
    [offset] => 0
    [length] => 0
    [att_local_name] => 
    [reply_rfc822_header] => 
)


1) Entering compose

ATTACHMENTS ARE EMPTY
Array
(
)


Notice: Undefined variable: attach_array in 
/var/apache/htdocs/1.4.11/src/compose.php on line 1212
ATTACH ARRAY:

SESSION EXPIRED: 

2) After first Add

ATTACHMENTS ARE EMPTY
Array
(
    [startMessage] => 1
    [session] => 1
    [passed_id] => 
    [identity] => 0
    [send_to] => [EMAIL PROTECTED]
    [send_to_cc] => 
    [send_to_bcc] => 
    [subject] => test 1.4.11 + ATTACH ARRAY
    [mailprio] => 3
    [body] => 

test 1.4.11 + ATTACH ARRAY

-- 
Pascal
    [attach] => Ajouter
    [MAX_FILE_SIZE] => 8388608
    [username] => pmaes
    [smaction] => 
    [mailbox] => INBOX
    [composesession] => 1
    [querystring] => mailbox=INBOX&startMessage=1
)


ATTACH ARRAY:
Array
(
    [0] => message Object
        (
            [rfc822_header] => 
            [mime_header] => messageheader Object
                (
                    [type0] => image
                    [type1] => jpeg
                    [parameters] => Array
                        (
                            [name] => a1.jpg
                        )

                    [id] => 0
                    [description] => 
                    [encoding] => 
                    [size] => 0
                    [md5] => 
                    [disposition] => disposition Object
                        (
                            [name] => attachment
                            [properties] => Array
                                (
                                    [filename] => a1.jpg
                                )

                        )

                    [language] => 
                )

            [flags] => 
            [type0] => 
            [type1] => 
            [entities] => Array
                (
                )

            [entity_id] => 
            [parent_ent] => 
            [entity] => 
            [parent] => 
            [decoded_body] => 
            [is_seen] => 0
            [is_answered] => 0
            [is_deleted] => 0
            [is_flagged] => 0
            [is_mdnsent] => 0
            [body_part] => 
            [offset] => 0
            [length] => 0
            [att_local_name] => JQ6sn0vbrg0MTaShuuznFyDUUMPx4laU
        )

)

SESSION EXPIRED: 


3) After second Add

ATTACHMENTS REINIT:
Array
(
    [0] => message Object
        (
            [rfc822_header] => 
            [mime_header] => messageheader Object
                (
                    [type0] => image
                    [type1] => jpeg
                    [parameters] => Array
                        (
                            [name] => a1.jpg
                        )

                    [id] => 0
                    [description] => 
                    [encoding] => 
                    [size] => 0
                    [md5] => 
                    [disposition] => disposition Object
                        (
                            [name] => attachment
                            [properties] => Array
                                (
                                    [filename] => a1.jpg
                                )

                        )

                    [language] => 
                )

            [flags] => 
            [type0] => 
            [type1] => 
            [entities] => Array
                (
                )

            [entity_id] => 
            [parent_ent] => 
            [entity] => 
            [parent] => 
            [decoded_body] => 
            [is_seen] => 0
            [is_answered] => 0
            [is_deleted] => 0
            [is_flagged] => 0
            [is_mdnsent] => 0
            [body_part] => 
            [offset] => 0
            [length] => 0
            [att_local_name] => JQ6sn0vbrg0MTaShuuznFyDUUMPx4laU
        )

)

COMPOSE MESSAGE:
message Object
(
    [rfc822_header] => rfc822header Object
        (
            [date] => -1
            [date_unparsed] => 
            [subject] => 
            [from] => Array
                (
                )

            [sender] => 
            [reply_to] => Array
                (
                )

            [mail_followup_to] => Array
                (
                )

            [to] => Array
                (
                )

            [cc] => Array
                (
                )

            [bcc] => Array
                (
                )

            [in_reply_to] => 
            [message_id] => 
            [references] => 
            [mime] => 
            [content_type] => 
            [disposition] => 
            [xmailer] => 
            [priority] => 3
            [dnt] => 
            [encoding] => 
            [mlist] => Array
                (
                )

            [x_spam_status] => Array
                (
                )

            [more_headers] => Array
                (
                )

        )

    [mime_header] => 
    [flags] => 
    [type0] => 
    [type1] => 
    [entities] => Array
        (
            [0] => message Object
                (
                    [rfc822_header] => 
                    [mime_header] => messageheader Object
                        (
                            [type0] => image
                            [type1] => jpeg
                            [parameters] => Array
                                (
                                    [name] => a1.jpg
                                )

                            [id] => 0
                            [description] => 
                            [encoding] => 
                            [size] => 0
                            [md5] => 
                            [disposition] => disposition Object
                                (
                                    [name] => attachment
                                    [properties] => Array
                                        (
                                            [filename] => a1.jpg
                                        )

                                )

                            [language] => 
                        )

                    [flags] => 
                    [type0] => 
                    [type1] => 
                    [entities] => Array
                        (
                        )

                    [entity_id] => 
                    [parent_ent] => 
                    [entity] => 
                    [parent] => 
                    [decoded_body] => 
                    [is_seen] => 0
                    [is_answered] => 0
                    [is_deleted] => 0
                    [is_flagged] => 0
                    [is_mdnsent] => 0
                    [body_part] => 
                    [offset] => 0
                    [length] => 0
                    [att_local_name] => JQ6sn0vbrg0MTaShuuznFyDUUMPx4laU
                )

        )

    [entity_id] => 
    [parent_ent] => 
    [entity] => 
    [parent] => 
    [decoded_body] => 
    [is_seen] => 0
    [is_answered] => 0
    [is_deleted] => 0
    [is_flagged] => 0
    [is_mdnsent] => 0
    [body_part] => 
    [offset] => 0
    [length] => 0
    [att_local_name] => 
    [reply_rfc822_header] => 
)


ATTACH ARRAY:
Array
(
    [0] => message Object
        (
            [rfc822_header] => 
            [mime_header] => messageheader Object
                (
                    [type0] => image
                    [type1] => jpeg
                    [parameters] => Array
                        (
                            [name] => 78963130li.jpg
                        )

                    [id] => 0
                    [description] => 
                    [encoding] => 
                    [size] => 0
                    [md5] => 
                    [disposition] => disposition Object
                        (
                            [name] => attachment
                            [properties] => Array
                                (
                                    [filename] => 78963130li.jpg
                                )

                        )

                    [language] => 
                )

            [flags] => 
            [type0] => 
            [type1] => 
            [entities] => Array
                (
                )

            [entity_id] => 
            [parent_ent] => 
            [entity] => 
            [parent] => 
            [decoded_body] => 
            [is_seen] => 0
            [is_answered] => 0
            [is_deleted] => 0
            [is_flagged] => 0
            [is_mdnsent] => 0
            [body_part] => 
            [offset] => 0
            [length] => 0
            [att_local_name] => mHwQlU1ggcrHxcflsD3iXoD6ADs4i8cy
        )

)

SESSION EXPIRED: 

ATTACHMENTS REINIT:
Array
(
    [0] => message Object
        (
            [rfc822_header] => 
            [mime_header] => messageheader Object
                (
                    [type0] => image
                    [type1] => jpeg
                    [parameters] => Array
                        (
                            [name] => 78963130li.jpg
                        )

                    [id] => 0
                    [description] => 
                    [encoding] => 
                    [size] => 0
                    [md5] => 
                    [disposition] => disposition Object
                        (
                            [name] => attachment
                            [properties] => Array
                                (
                                    [filename] => 78963130li.jpg
                                )

                        )

                    [language] => 
                )

            [flags] => 
            [type0] => 
            [type1] => 
            [entities] => Array
                (
                )

            [entity_id] => 
            [parent_ent] => 
            [entity] => 
            [parent] => 
            [decoded_body] => 
            [is_seen] => 0
            [is_answered] => 0
            [is_deleted] => 0
            [is_flagged] => 0
            [is_mdnsent] => 0
            [body_part] => 
            [offset] => 0
            [length] => 0
            [att_local_name] => mHwQlU1ggcrHxcflsD3iXoD6ADs4i8cy
        )

)

COMPOSE MESSAGE:
message Object
(
    [rfc822_header] => rfc822header Object
        (
            [date] => -1
            [date_unparsed] => 
            [subject] => 
            [from] => Array
                (
                )

            [sender] => 
            [reply_to] => Array
                (
                )

            [mail_followup_to] => Array
                (
                )

            [to] => Array
                (
                )

            [cc] => Array
                (
                )

            [bcc] => Array
                (
                )

            [in_reply_to] => 
            [message_id] => 
            [references] => 
            [mime] => 
            [content_type] => 
            [disposition] => 
            [xmailer] => 
            [priority] => 3
            [dnt] => 
            [encoding] => 
            [mlist] => Array
                (
                )

            [x_spam_status] => Array
                (
                )

            [more_headers] => Array
                (
                )

        )

    [mime_header] => 
    [flags] => 
    [type0] => 
    [type1] => 
    [entities] => Array
        (
            [0] => message Object
                (
                    [rfc822_header] => 
                    [mime_header] => messageheader Object
                        (
                            [type0] => image
                            [type1] => jpeg
                            [parameters] => Array
                                (
                                    [name] => 78963130li.jpg
                                )

                            [id] => 0
                            [description] => 
                            [encoding] => 
                            [size] => 0
                            [md5] => 
                            [disposition] => disposition Object
                                (
                                    [name] => attachment
                                    [properties] => Array
                                        (
                                            [filename] => 78963130li.jpg
                                        )

                                )

                            [language] => 
                        )

                    [flags] => 
                    [type0] => 
                    [type1] => 
                    [entities] => Array
                        (
                        )

                    [entity_id] => 
                    [parent_ent] => 
                    [entity] => 
                    [parent] => 
                    [decoded_body] => 
                    [is_seen] => 0
                    [is_answered] => 0
                    [is_deleted] => 0
                    [is_flagged] => 0
                    [is_mdnsent] => 0
                    [body_part] => 
                    [offset] => 0
                    [length] => 0
                    [att_local_name] => mHwQlU1ggcrHxcflsD3iXoD6ADs4i8cy
                )

        )

    [entity_id] => 
    [parent_ent] => 
    [entity] => 
    [parent] => 
    [decoded_body] => 
    [is_seen] => 0
    [is_answered] => 0
    [is_deleted] => 0
    [is_flagged] => 0
    [is_mdnsent] => 0
    [body_part] => 
    [offset] => 0
    [length] => 0
    [att_local_name] => 
    [reply_rfc822_header] => 
)


Warning: Cannot modify header information - headers already sent by (output 
started at /var/apache/htdocs/1.4.11/functions/strings.php:698) in 
/var/apache/htdocs/1.4.11/src/compose.php on line 524

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to