Skip to content

Unable to send email with DKIM signature #11485

@maratth

Description

@maratth
  • bug
  • enhancement
  • feature-discussion (RFC)

Cakephp version : 3.4.13

What you did

I want to send a email with DKIM signature but my email client can't verify this signature (body hash did not verify).

What you expected to happen

For solve it, i must force the content-transfer-encoding to quoted-printable not 8bit or 7bit.
But i must override cakephp source code for set content-transfer-encoding to quoted-printable.

protected function _getContentTransferEncoding()
    {
        return 'quoted-printable';
        // Cakephp source code
        $charset = strtoupper($this->charset);
        if (in_array($charset, $this->_charset8bit)) {
            return '8bit';
        }

        return '7bit';
    }

How i can set the transfer encoding whitout override cakephp source code ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions