mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
⚡ Allow usage of special characters on SES (#2068)
This commit is contained in:
parent
1d4a5ba8ce
commit
47fbd5e762
|
@ -1091,9 +1091,10 @@ export class AwsSes implements INodeType {
|
||||||
];
|
];
|
||||||
|
|
||||||
if (isBodyHtml) {
|
if (isBodyHtml) {
|
||||||
params.push(`Message.Body.Html.Data=${encodeURI(message)}`);
|
params.push(`Message.Body.Html.Data=${encodeURIComponent(message)}`);
|
||||||
|
params.push(`Message.Body.Html.Charset=UTF-8`);
|
||||||
} else {
|
} else {
|
||||||
params.push(`Message.Body.Text.Data=${encodeURI(message)}`);
|
params.push(`Message.Body.Text.Data=${encodeURIComponent(message)}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (toAddresses.length) {
|
if (toAddresses.length) {
|
||||||
|
|
Loading…
Reference in a new issue