Closed danielmcconville closed 4 months ago
Closing this issue as the email is delivered, the issue is with the Mailgun logging. The logging shows the template values rather than the replaced values leading to confusion. This happens with all emails sent in this way, not just ones with special characters in the local-part.
When sending batch emails using the
recipient-variables
field, if the local-part (username) of the email contains a+
character (or some other allowed characters according to RFC 5321), therecipient-variables
mapping fails.Example
The above will create an email with the following details:
As you can see the template variables have not been replaced with the provided
recipient-variables
. The above example will work correctly if you replace the email address with one that does not contain a+
character.