Bug 156391 - Writer | Mail Merge Error
Summary: Writer | Mail Merge Error
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.6.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-20 04:49 UTC by James
Modified: 2025-11-25 15:34 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot (6.21 KB, image/png)
2023-07-20 04:50 UTC, James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James 2023-07-20 04:49:11 UTC
Description:
Unable to send an email via Mail Merge, it would be ideal if I could have an option to delegate the email transmission aspects to my Mail Transfer Agent (MTA) which in this case is Thunderbird.

Steps to Reproduce:
0. Write up a mail merge "file" with an associated contact database.
1. Click on "Send Mail Messages"
2. Select "To: Email Address"
3. If desired, enter a subject line.
4. Select "Send as: Plain Text"
5. Click on "Send Documents"

Actual Results:
A redacted error log is included below.

<class 'smtplib.SMTPSenderRefused'>: (550, b'5.7.1 Authentication is required to use this service', 'EMAIL'), traceback follows
  File "C:\Program Files\LibreOffice\program\mailmerge.py", line 262, in sendMailMessage
    self.server.sendmail(sendermail, truerecipients, msg.as_string())
  File "C:\Program Files\LibreOffice\program\python-core-3.8.16\lib\smtplib.py", line 885, in sendmail
    raise SMTPSenderRefused(code, resp, from_addr)

Expected Results:
Email is sent


Reproducible: Always


User Profile Reset: No

Additional Info:
Additional Info:
Version: 7.5.4.2 (X86_64) / LibreOffice Community
Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-NZ (en_NZ); UI: en-US
Calc: CL threaded

Tools -> Options -> Libre Office Writer -> Mail Merge Email -> Test Settings (screenshot will be attached.)
Comment 1 James 2023-07-20 04:50:20 UTC
Created attachment 188486 [details]
screenshot
Comment 2 Stéphane Guillou (stragu) 2023-07-20 08:48:07 UTC
Does you email provider use OAuth ?
Wondering if this is the same issue as bug 144379
(similar error message in duplicate bug 153863)
Comment 3 James 2023-07-20 09:31:58 UTC
I don't think so as my account's SMTP settings for thunderbird are:
- Port 465 (the deafult)
- SSl/TLS
- Normal password.

To be clear, if possible I would love for the option for Mail Merge to degliate the MTA / SMTP aspects to my default email client.
Comment 4 Dieter 2024-10-24 12:51:05 UTC
James, it seems, that nobody could confirm the problem for more than a year. Is it still reproducible for you with actual version LO 24.8?
=> NEEDINFO
Comment 5 QA Administrators 2025-05-20 03:10:59 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2025-11-25 15:34:43 UTC
Dear James,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp