Skip to content

Trying to send email with special characters. #310

@joaojoyce

Description

@joaojoyce

Hi,

The api works great, but when I send an email with some special characters in the subject the result is not perfect.
For instance:

Técnica gets translated to Teìcnica

I'm sending this in the body of the request:

        $message = [
            'subject' => $subject,
            "body" => [
                "contentType" => "TEXT",
                "content"=> $text
            ],
            "toRecipients" => [
                [
                    "emailAddress" => [
                        "address" => $email_to
                    ]
                ]
            ]
        ];

Is there any encoding parameter that I should set?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions