No Code Attached Yet bug
avatar dsic-se-support-web
dsic-se-support-web
11 Mar 2026

What happened?

  1. Users groups are set as
    [Root group with no users]
    - [sub group 1 with users]
    - [sub group 2 with no users]
    - [sub group 2.1 with users]

  2. In back office, go to Users > Mass Mail Users

  3. Set a mail subject

  4. Set a mail content (simple text)

  5. Mass Mail Users settings :
    "Mail to Child User Groups" => Enabled
    "Send in HTML Mode" => Disabled
    "Send to Blocked Users" => Disabled
    "Recipients as BCC" => Enabled
    "Group" => Select [Root group with no users]

  6. Send mail

  7. Mass Mail Users says "xx mail are sent"

Version

5.4.3

Expected result

Bulk emails must be received without error.

Actual result

  • No email was received
  • The error message "Mail delivery failed: returning message to sender" is returned to super-admin email address with this type of content

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

test@mail.com
message has lines too long for transport

System Information

No response

Additional Comments

No response

avatar dsic-se-support-web dsic-se-support-web - open - 11 Mar 2026
avatar joomla-cms-bot joomla-cms-bot - change - 11 Mar 2026
Labels Added: No Code Attached Yet bug
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 Mar 2026
avatar dsic-se-support-web dsic-se-support-web - change - 11 Mar 2026
Title
Mass Mail User - message has lines too long for transport
[ 5.4.3] Mass Mail User - message has lines too long for transport
avatar dsic-se-support-web dsic-se-support-web - edited - 11 Mar 2026
avatar dsic-se-support-web dsic-se-support-web - change - 11 Mar 2026
The description was changed
avatar dsic-se-support-web dsic-se-support-web - edited - 11 Mar 2026
avatar brianteeman
brianteeman - comment - 11 Mar 2026

How are you sending the emails? You can find this in the global configuration mail settings

avatar dsic-se-support-web
dsic-se-support-web - comment - 11 Mar 2026

How are you sending the emails? You can find this in the global configuration mail settings

Emails are sent using Php mail (Php version : 8.2.30).

Please note that sending emails with Mass Mail Users works correctly if only one user group, without subgroups, is selected as recipient.

avatar sonirupali028-dev
sonirupali028-dev - comment - 17 Mar 2026

Hi @dsic-se-support-web , I would like to work on this issue.
I was able to reproduce the problem using the described setup with nested user groups. From my analysis, the error occurs when the message body contains very long unbroken lines, which exceed the SMTP limit (998 characters per line), resulting in the “line too long for transport” failure.

I checked the current implementation and observed that emails are already being sent individually (not via BCC), so the issue is related to message body formatting rather than recipient handling.

To fix this, I propose wrapping the message body before sending (using word wrapping) to ensure compliance with email transport standards. I have tested this locally, and the emails are delivered successfully without errors.

Could you please assign this issue to me?

avatar brianteeman
brianteeman - comment - 17 Mar 2026

We don't assign issues. Anyone can submit a pr #47215

Add a Comment

Login with GitHub to post a comment