incubator-zeta-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kore Nordmann (JIRA)" <>
Subject [jira] Created: (ZETACOMP-40) Duplicate message IDs generate by ezcMailTools
Date Thu, 20 Jan 2011 08:43:43 GMT
Duplicate message IDs generate by ezcMailTools

                 Key: ZETACOMP-40
             Project: Zeta Components
          Issue Type: Bug
          Components: Mail
            Reporter: Kore Nordmann

The message ID is constructed from the hostname, current time (precision: second), the process
ID and an incremented static variable.

If several mails are sent in the same second using AJAX requests from the frontend each triggering
one mail, using the same PHP process the same message ID might be used multiple times since
the static variable is obviously reset between the requests. A more random part embedded in
the message ID would help here (uniqid(), mt_rand()).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message