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

Zend mail DKIM failes #242

Open
Jilco opened this issue Sep 13, 2019 · 2 comments
Open

Zend mail DKIM failes #242

Jilco opened this issue Sep 13, 2019 · 2 comments

Comments

@Jilco
Copy link

Jilco commented Sep 13, 2019

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!

@Jilco
Copy link
Author

Jilco commented Sep 16, 2019

Some further investigation says that only hotmail has the problem, gmail doesn't fail dkim.

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-mail; a new issue has been opened at laminas/laminas-mail#9.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants