I’m using Postmark for SMTP on this site configured using the Fluent SMTP plugin. Recently, I’ve encountered some form submissions failing. And the Postmark logs indicate the following error:
{
“code”: 422,
“message”: “Error parsing ‘From’: Illegal email address ‘&’. It must contain the ‘@’ symbol.”,
“errors”: [
“Error parsing ‘From’: Illegal email address ‘&’. It must contain the ‘@’ symbol.”
]
}
After searching Postmark’s docs for more info about this 422 error, I came across this doc regarding recent API changes:
https://postmarkapp.com/updates/changes-to-email-api-validation-action-may-be-required
I wonder if Forminator’s JSON is malformed and no longer compliant with Postmark’s updated API standards/guidelines.
The article mentions:
In the past, Postmark’s email API has been pretty forgiving to requests that are passed incorrectly. In some cases, we’ve accepted invalid request headers and incorrectly passed JSON body key/value pairs—even if they didn’t match our API documentation. Going forward, we’ll start to reject invalid requests and return an error message instead.
Is this something that can be explored for remediation if the issue lies with Forminator’s handling of form submissions?