When defining a custom email message to be sent on webform-submit, it's possible to enter multiple email addresses into the "Custom" field as a comma-separated list. The help text on the page does not list any limit to the number of characters in the field.
However, there seems to be a limit of 128 characters, which we exhausted with a distribution of five addresses. (Though it's poor operational practice to send to that many addresses, rather than to distribution lists, I think it's probably also a common desire for reasons I don't think we need to go into but which I can if necessary.)
I would like to either see this limit eliminated or documented (preferably as proximate help text). The latter is probably easier, so I've marked it as a documentation issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | webform_email_limit.patch | 995 bytes | quicksketch |
Comments
Comment #1
quicksketchThe email column in the database actually doesn't have a problematic limit (it's 16,000 characters essentially), it's just a limit imposed by the field within the form. We should be able to set a longer #maxlimit without any trouble here. How does 500 characters sound?
Comment #2
quicksketchI've increased the limit to 500 characters for e-mail addresses and 255 (the database limit) for subject, from e-mail, and from name.
Comment #3
escoles commentedSorry I missed your earlier response. 500 sounds pretty good; longer than that and people really should be using a distribution list anyway.