Skip to content

Long email names lead to not sending emails #284

@oleua

Description

@oleua

Python3 limited the email name (field From) to 75 symbols. Helios doesn't control this situation and allows to upload emails with long email names. Eventually, when sending emails I am getting errors:

ValueError('invalid arguments; address parts cannot contain CR or LF',)

which leads to not sending email to the recipient.

At the same time Helios doesn't allow to understand who haven't received invitation message thus bringing troubles to managers.

Here you may find the ticket registered in django: https://code.djangoproject.com/ticket/31784

What I suggest is to provide the warning limitation before uploading the users to the system in the form of the table, so the managers may see which voter's name exceeds the length, and suggest 3 options:

  • upload only those voters, whose name pass the test in 75 chars, inform manager by email
  • automatically cut the names of those who are not passing and upload, , inform manager by email
  • show details and let managers to decide what to do, inform manager by email.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions