Mail size limit

I want to send some logs from my script. Did this with CORE all the time. Here on SCALE, there seems to be a new size limit.

middlewared.log say:
middlewared.ws_handler():1918 - Client using credentials [{‘username’: ‘root’}] at [pid:55577] sent message with payload size [186333 bytes] exceeding limit of 65536 for method mail.send

Any way to increase this?

As pointed here

The limit can’t be removed.

If can help i made this python script to wrap a similar sendemail functionality for Scale

Also if there are way to improve anything let me know.
New version will be pushed today with an improvement sending email without SMTP login

1 Like