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]
In back office, go to Users > Mass Mail Users
Set a mail subject
Set a mail content (simple text)
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]
Send mail
Mass Mail Users says "xx mail are sent"
5.4.3
Bulk emails must be received without error.
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
No response
No response
| Labels |
Added:
No Code Attached Yet
bug
|
||
| Title |
|
||||||
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.
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?
How are you sending the emails? You can find this in the global configuration mail settings