Skip to content

Email address with non-ASCII local part passes validation but fails with AWS error #414

Description

@danatemple

I'm not an expert on whether this should be the case, but e.g.

dån@example.com

passes validation with RFCValidation() but is then rejected by the AWS SES API:

<Error>
    <Type>Sender</Type>
    <Code>InvalidPara (truncated...)
 InvalidParameterValue (client): Local address contains control or whitespace - <ErrorResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/">
  <Error>

This is with release 4.0.4 on a Laravel 12 framework vanilla email validation setup.

Maybe that address is not strictly wrong acc to the RFC (I don't know?), but the end result is a bit problematic. Any solutions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions