6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/18/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7671] Problem with Compose and attachment
*
Your Email Address
*
Spam protection
Enter the letters below:
.___ __ .__ . .. . [__ / `[ __|\ ||__| [___\__.[_./| \|| |
Comment
>> So long as the same problem doesn't happen with that code... > > > > I found the problem. > > It comes from MIME::generateRandomID(). The random ID generated is > not uniq. When you call this function several time within a sort > period of time, you always get the same random ID. > > > > quick fix which works here : > > function generateRandomID() > > { > > // return base_convert(dechex(strtr(microtime(), array('0.' => > '', ' ' => ''))) . uniqid(), 16, 36); > > return md5(microtime()); > > } > > > > hope this helps. > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers