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

            Bug ID: 153863
           Summary: Writer Mail Merge needs OAuth authentification to work
                    with G-Mail
           Product: LibreOffice
           Version: 7.5.0.3 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
I have tried sending a serial mail with Writer and found that the sending does
not work. My mail server is G-Mail. The mail server only accepts authorisation
with OAuth2 or 2-factor authorisation. Serial sending is not possible with
2-factor authorisation, so only OAuth remains as a method to use Writer
Mailmerge with G-Mail. This should be implemented in Writer.


Steps to Reproduce:
1. Start with the standard Mailmerge procedure
2. Send mails

Actual Results:
The mails are processed but not send.
Error message:
<class 'smtplib.SMTPSenderRefused'>: (530, b'5.7.0 Authentication Required.
Learn more at\n5.7.0  https://support.google.com/mail/?p=WantAuthError
fm16-20020a05600c0c1000b003dd1bd0b915sm6639753wmb.22 - gsmtp',
'[email protected]'), traceback follows
  File "/usr/lib/libreoffice/program/mailmerge.py", line 262, in
sendMailMessage
    self.server.sendmail(sendermail, truerecipients, msg.as_string())
  File "/usr/lib/python3.10/smtplib.py", line 887, in sendmail
    raise SMTPSenderRefused(code, resp, from_addr)


Expected Results:
Messages should have been prozessed and sent.


Reproducible: Always


User Profile Reset: No

Additional Info:
OAuth should be implemented as another option to work with G-Mail

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

Reply via email to