Skip to content

Ability to use DKIM header in mail with fastnloud/zf2-dkim module.#3

Open
renta wants to merge 2 commits intovikey89:masterfrom
renta:master
Open

Ability to use DKIM header in mail with fastnloud/zf2-dkim module.#3
renta wants to merge 2 commits intovikey89:masterfrom
renta:master

Conversation

@renta
Copy link

@renta renta commented Jun 30, 2015

If we need to send letters with DKIM header in ZF, we can use module fastnloud/zf2-dkim

  1. You create DKIM keys (see http://dkimcore.org/specification.html).
  2. Install fastnloud/zf2-dkim module in your ZF project.
  3. Use it with vikey89/EmailZF2 like:
$view = new ViewModel(array(
                'fullname' => 'Vincenzo Provenza',
            ));
$view->setTerminal(true);
$view->setTemplate('Application/view/emails/hello_world');
$this->mailerZF2()->send(array(
    'to' => 'email@domain.it',
    'subject' => 'This is subject',
    'dkimSign' => true
), $view);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant