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.

CommentFileSizeAuthor
#2 webform_email_limit.patch995 bytesquicksketch

Comments

quicksketch’s picture

The 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?

quicksketch’s picture

Title: Undocumented limit of 128 characters for "To:" addresses in custom email » Extend limit of 128 characters for "To:" addresses in custom email
Status: Active » Fixed
StatusFileSize
new995 bytes

I've increased the limit to 500 characters for e-mail addresses and 255 (the database limit) for subject, from e-mail, and from name.

escoles’s picture

Sorry I missed your earlier response. 500 sounds pretty good; longer than that and people really should be using a distribution list anyway.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.