<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - MAILMERGE: Crash when sending mail with wrong password"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107710">107710</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>MAILMERGE: Crash when sending mail with wrong password
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.4.0.0.alpha1+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kelemeng@ubuntu.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>1, Set up your Mail Merge access on the Mail Merge settings page, but type a
wrong password
2, Try to send a mail merge e-mail
3, Upon pressing the Send Mail button current LO 5.4 alpha (but 5.3.2 as well
on Ubuntu) crashes with the following debug messages on the console:

$ warn:ucb.ucp.gio:5062:1:ucb/source/ucp/gio/gio_content.cxx:396: ignoring
GError "Operation not supported" for <>
warn:vcl.layout:5062:1:vcl/source/window/builder.cxx:520: No default button
defined in modules/swriter/ui/mmcreatingdialog.ui
warn:sw:5062:1:sw/inc/swrect.hxx:283: SVRect() without Width or Height
warn:sw:5062:1:sw/inc/swrect.hxx:283: SVRect() without Width or Height
warn:sw:5062:1:sw/inc/swrect.hxx:283: SVRect() without Width or Height
warn:sw:5062:1:sw/inc/swrect.hxx:283: SVRect() without Width or Height
warn:sw:5062:1:sw/inc/swrect.hxx:283: SVRect() without Width or Height
warn:sw:5062:1:sw/inc/swrect.hxx:283: SVRect() without Width or Height
warn:vcl.layout:5062:1:vcl/source/window/builder.cxx:520: No default button
defined in modules/swriter/ui/mmsendmails.ui
warn:sfx.view:5062:1:sfx2/source/view/viewfrm.cxx:2947: SID_SIDEBAR state
requested, but no task pane child window exists for this ID!
Python exception: <class 'smtplib.SMTPAuthenticationError'>: (535, b'5.7.8
Username and Password not accepted. Learn more at\n5.7.8 
<a href="https://support.google.com/mail/?p=BadCredentials">https://support.google.com/mail/?p=BadCredentials</a> i199sm11260750wmf.33 -
gsmtp'), traceback follows
  File "/home/gabor/src/core/instdir/program/mailmerge.py", line 132, in
connect
    self.server.login(user, password)
  File "/home/gabor/src/core/instdir/program/python-core-3.5.0/lib/smtplib.py",
line 729, in login
    raise last_exception
  File "/home/gabor/src/core/instdir/program/python-core-3.5.0/lib/smtplib.py",
line 720, in login
    initial_response_ok=initial_response_ok)
  File "/home/gabor/src/core/instdir/program/python-core-3.5.0/lib/smtplib.py",
line 641, in auth
    raise SMTPAuthenticationError(code, resp)


warn:legacy.osl:5062:1:sw/source/uibase/dbui/mailmergehelper.cxx:157: exception
caught
Throwing InvalidHeaderException
Throwing InvalidHeaderException
Throwing InvalidHeaderException
Throwing InvalidHeaderException
Throwing InvalidHeaderException
warn:sfx.doc:5062:1:sfx2/source/doc/docfile.cxx:682: Physical name not
convertible!
Python exception: <class 'smtplib.SMTPSenderRefused'>: (530, b'5.5.1
Authentication Required. Learn more at\n5.5.1 
<a href="https://support.google.com/mail/?p=WantAuthError">https://support.google.com/mail/?p=WantAuthError</a> i199sm11260750wmf.33 - gsmtp',
'<a href="mailto:kelemeng@ubuntu.com">kelemeng@ubuntu.com</a>'), traceback follows
  File "/home/gabor/src/core/instdir/program/mailmerge.py", line 285, in
sendMailMessage
    self.server.sendmail(sendermail, truerecipients, msg.as_string())
  File "/home/gabor/src/core/instdir/program/python-core-3.5.0/lib/smtplib.py",
line 862, in sendmail
    raise SMTPSenderRefused(code, resp, from_addr)


Throwing InvalidHeaderException
Throwing InvalidHeaderException
Throwing InvalidHeaderException
Throwing InvalidHeaderException
Throwing InvalidHeaderException
warn:sfx.doc:5062:1:sfx2/source/doc/docfile.cxx:682: Physical name not
convertible!</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>