<meta http-equiv="content-type" content="text/html; charset=utf-8">
<body bgcolor="#FFFFFF" text="#000000">
<p>There's been a lot of changes in respect of MailMerge with
LibreOffice 5.2 onwards and I've been caught out by some of these
changes and raised bug reports for -</p>
<p> <a class="bz_bug_link bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - Mail Merge Wizard no longer works"
102951</a> for the MailMerge wizard which has been resolved as
just a change of the MailMerge GUI being split;</p>
<p><a class="bz_bug_link bz_status_NEW " title="NEW - MAILMERGE:
Output Filename changed using CLI_UNO"
102010</a> which is still waiting for a fix</p>
<p>Anyway, I've moved on and done some testing of the SendMail part
of MailMerge and encountered what appears to be a race condition.
In that if I generate a MailMerge for 2 recipients -</p>
<li>the email for the second recipient appears to be never sent
and definitely never ever received. <br>
<li>the success of the email for the first recipient is that it
always looks like it's been sent but mostly it's never received.
When it is received it is occasionally corrupted.</li>
<p>However if I put in 2 sleeps in the file
sw/source/ui/dbui/mmoutputtypepage.cxx as per this git diff,
below, I consistently see the emails being sent and received
successfully. This would appear to suggest that it's thread
related though I have no knowledge of threads so I could be way of
the mark here.<br>
<p>Unrelated, I've done some changes to the file mailmerge.py to
enable me to send messages through the "mail.btinternet.com" smtp
server so it would be good to discuss these changes with someone.
Any suggestions as to who?</p>
<p>For the suspected race condition should I raise a bug with my
findings or wait to discuss with someone more knowledgeable? <br>
<blockquote type="cite">index 5e42b2f..52db84c 100644<br>
@@ -36,6 +36,13 @@<br>
using namespace ::com::sun::star;<br>
@@ -313,6 +320,8 @@ void SwSendMailDialog::dispose()<br>
@@ -482,6 +491,7 @@ void SwSendMailDialog::IterateMails()<br>