Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Zend mail DKIM failes #242

@Jilco

Description

@Jilco

DKIM passed with zend previous versions (als on Magento), now dkim failes when using zend. When using Outlook with same SMTP settings, dkim passes.

Code to reproduce the issue

$message = new Message();
        $message->addTo($recipient)
                ->addFrom(****)
                ->setSubject('Maintenanceplus - contact')
                ->setBody($body);
        
        // Send E-mail message (SMTP)
        $transport = new SmtpTransport();
        $options   = new SmtpOptions(array(
                'name'              => 'maintenanceplus.nl',
                'host'              => 'mail.maintenanceplus.nl',
                'port'              => 587,
                'connection_class'  => 'login',
                'connection_config' => array(
                    'username' => *,
                    'password' => *
                    'ssl' => 'tls'
                ),
            ));
        $transport->setOptions($options);
        $transport->send($message);

Expected results

Mail is send to recipent with passed dkim

Actual results

dkim failed with zend, but when sending via outlook (same smtp settings) the dkim passes. Also in my Magento webstore the same happens!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions