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

--- Comment #4 from TrevorA <[email protected]> ---
Further to that I tried the solution at:

https://stackoverflow.com/questions/34949283/error-with-libre-office-ssl-and-gmail

which involves changing
>self.server = smtplib.SMTP(server, port,timeout=tout)
to
>self.server = smtplib.SMTP_SSL(server, port,timeout=tout)
using port 465 and unchecking TLS/SSL

but that didn't seem to have any effect.

Also tried chatgpt which seemed to try a similar but more complicated solution. 

It's verdict to message

>Task policy set failed: 4 ((os/kern) invalid argument)

"This is not a Python exception — it’s an OS-level warning generated by macOS
when LibreOffice’s background threads or timers interact with GUI objects.

LibreOffice 25.x Python bridge sometimes triggers this when multiple Mail Merge
messages are sent in a single batch.

These warnings do not necessarily mean the email failed — they often appear
even when the mail is sent successfully."

NB to see python debug messages then it suggested using this in terminal:

export LO_DEBUG_MAILMERGE=1
/Applications/LibreOffice.app/Contents/MacOS/soffice --writer

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

Reply via email to