https://bugs.documentfoundation.org/show_bug.cgi?id=162677

            Bug ID: 162677
           Summary: Mail-Merge works fine to produce letters and
                    envelopes, but it crashes when I try to send e-mails
           Product: LibreOffice
           Version: 7.6.7.2 release
          Hardware: ARM
                OS: macOS (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
I have tried both LibreOffice Version 7.6.7 and 24.2.5 to do Mail-Merge to send
e-mails on my iMac.  Mail-Merge works perfectly in both programs to create
letters and evelopes for snail-mail, but it crashes with error messages (which
I will provide) when I try to do Mail-Merge to send e-mails.

Steps to Reproduce:
1.Open Mail-Merge in Writer, Select email, Link a Calc data file, and select
relevant fields
2.Preview to see Mail-Merge is working 
3.Select a range of data fields, add an email title, and start the Mail-Mmrge -
ends with an error message with subroutine location errors.

Actual Results:
Here is a copy of the error messages received with both 7.6.7.2 and 24.2.5:

When using LibreOffice version 24.2.5 - I got the following error message:

<class 'smtplib.SMTPSenderRefused'>: (530, b'5.7.0 Authentication Required. For
more information, go to\n5.7.0 
https://support.google.com/mail/?p=WantAuthError
41be03b00d2f7-7cd9ac99525sm1493556a12.9 - gsmtp', '[email protected]'),
traceback follows
  File "/Applications/LibreOffice 24.2.5.app/Contents/Resources/mailmerge.py",
line 290, in sendMailMessage
    self.server.sendmail(sendermail, truerecipients, msg.as_string())
  File "/Applications/LibreOffice
24.2.5.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.8/smtplib.py",
line 885, in sendmail
    raise SMTPSenderRefused(code, resp, from_addr)

 at
/Users/cloph/build/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:24

====================================================================================
When using LibreOffice version 7.6.7 - I got the following error message:

<class 'smtplib.SMTPSenderRefused'>: (530, b'5.7.0 Authentication Required. For
more information, go to\n5.7.0 
https://support.google.com/mail/?p=WantAuthError
41be03b00d2f7-7cd9ad552aasm1501325a12.59 - gsmtp', '[email protected]'),
traceback follows
  File "/Applications/LibreOffice 7.6.7.app/Contents/Resources/mailmerge.py",
line 262, in sendMailMessage
    self.server.sendmail(sendermail, truerecipients, msg.as_string())
  File "/Applications/LibreOffice
7.6.7.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.8/smtplib.py",
line 885, in sendmail
    raise SMTPSenderRefused(code, resp, from_addr)



Expected Results:
The Mail-Merge failed and only resulted in the error messages above.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.5.2 (AARCH64) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
CPU threads: 8; OS: macOS 14.6.1; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

=================================================================================
Version: 7.6.7.2 (AARCH64) / LibreOffice Community
Build ID: dd47e4b30cb7dab30588d6c79c651f218165e3c5
CPU threads: 8; OS: Mac OS X 14.6.1; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to