commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurizio Cucchiara <mcucchi...@apache.org>
Subject Re: commons-email sending email twice?
Date Fri, 29 Mar 2013 06:49:53 GMT
Gmail removes the duplicated emails (though to be frank, I don't know
according to which criteria).
For the same reason you don't see the message, you just sent to the
list, twice.


Twitter     :http://www.twitter.com/m_cucchiara
G+          :https://plus.google.com/107903711540963855921
Linkedin    :http://www.linkedin.com/in/mauriziocucchiara
VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara

Maurizio Cucchiara


On 29 March 2013 01:30, David Hoffer <dhoffer6@gmail.com> wrote:
> I've got a strange one.  I'm using commons-email to send some email, that
> is being sent to two recipients so I call addTo() twice, once for each
> recipients, then I call send() once.  I can tell I'm calling send() once
> per the log files.
>
> However two messages get sent.  I'm using GMail to send.  I can tell two
> got sent because it logs two sent in GMail's Sent Mail folder. And each of
> the recipients get duplicate emails.  They both have the same send and
> receive timestamp.
>
> This program runs and does this twice per day, happens to be at midnight
> and at 1am.  To try to keep GMail from combining/threading the messages the
> subject contains the date.  So since we send the email an hour apart these
> both have the same subject...and since the emails are duplicated we have 4
> combined/threaded messages per day in our Sent Mail folder.  However we
> should only have 2.
>
> This started happening about a month ago and we were using commons-email
> 1.3, I since upgraded to 1.3.1 and get the same behavior.
>
> I don't know if this issue is with commons-email or GMail, or why it
> started...it used to work fine.
>
> Has anyone seen anything like this?  Have any pointers how I might resolve
> this?
>
> Thanks,
> -Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message