Chris Burdess schrieb/wrote:
I can update the algorithm to use the FQDN of the host, that's not
a problem (although it means that GNU JavaMail will rely on Java
1.4 or later, I don't think that will be a problem for most people).
Yes please, I think that would be a good idea.
If the second number is not changing, that indicates a much more
serious problem. Could you give an example of the code you're
using to create and send the messages? You're not reusing
MimeMessage object instances?
Both numbers (before and after the dot) are not changing, that's
why there are real duplicate ids. It's not my code, but I found the
right method in org.apache.log4j.net.SMTPAppender I think:
...
Multipart mp = new MimeMultipart();
mp.addBodyPart(part);
msg.setContent(mp);
msg.setSentDate(new Date());
Transport.send(msg);