Amazon SES node can't handle e-mails with + sign

Hi

UPDATE: It seems to work if you URLEncode the email.

I’m trying to send with the Amazon SES node and it works except for e-mail adresses with a + sign. Should this be encoded in a special way?

Version 0.213.0

1 Like

There are other characters that cause issues as well, I want to spend a bit of time at some point fixing this one so that it makes life easier in the future.

Yeah, there are a few other issues as well:

  • Certain characters are not allowed in HTML body it seems (can’t really figure out the logic here)
  • You can’t put in arrays in the Send-Template mode, or is there a clever way to do that? If not, perhaps a JSON field would be better:

Does your template use arrays? Which characters are not working, there could be a pattern to them.

The template challenge is different. I don’t know how to put in an array in the variables.

I haven’t tested whether the template breaks on the same characters though (I’ve reverted to SMTP for the time being).

Yes, the template I use is like this:

{{intro}}
<br><hr>
{{#each tweets}}
<strong>{{title}}</strong>
<br><br>
<blockquote style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<small>Delt af: {{tweeter}} (Views: {{views}})</small>
<br>
{{tweet}}
</blockquote>
<br>
{{description}}
<br><br>
<a href="{{link}}">Læs artiklen</a>
<br><hr><br>
{{/each}}

This is the JSON:

{
	"intro": "Kære læser",
	"tweets": [
		{
	"title": "denne artikel handler om ....",
	"tweeter": "CNN",
	"views": 100000,
	"tweet": "lots of text here ....",
	"description": "again again lots of text",
	"link": "https://eb.dk"
	},
			{
	"title": "denne artikel handler om ....",
	"tweeter": "CNN",
	"views": 100000,
	"tweet": "lots of text here ....",
	"description": "again again lots of text",
	"link": "https://eb.dk"
	}
	]
}

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.