Skip to content

Mail: added DKIM signer#51

Merged
dg merged 1 commit intonette:masterfrom
lukaspijak:dkim
Jun 3, 2019
Merged

Mail: added DKIM signer#51
dg merged 1 commit intonette:masterfrom
lukaspijak:dkim

Conversation

@lukaspijak
Copy link
Copy Markdown
Contributor

@lukaspijak lukaspijak commented Apr 30, 2018

  • bug fix? no
  • new feature? yes
  • BC break? no

Hello,

this is the implementation of DKIM signatures into emails, see https://en.wikipedia.org/wiki/DomainKeys_Identified_Mail

In Nette is problematic to implement this feature, so I'd like to help it.

$sender = new Nette\Mail\SendmailMailer();

$sender->setSigner(new Nette\Mail\DkimSigner([
	'domain' => 'nette.org',
	'selector' => 'key1',
	'privateKey' => '__PRIVATE_KEY__',
], [
    'To', 'From', 'Subject', 'Date'
]));

$sender->send(new Nette\Mail\Message());

DkimSigner tests

renamed
@dg
Copy link
Copy Markdown
Member

dg commented May 1, 2018

Oh, thanks!

@dg dg merged commit eac447f into nette:master Jun 3, 2019
dg pushed a commit that referenced this pull request Jun 3, 2019
dg pushed a commit that referenced this pull request Jun 3, 2019
dg pushed a commit that referenced this pull request Jun 3, 2019
dg pushed a commit that referenced this pull request Jun 3, 2019
dg pushed a commit that referenced this pull request Jul 1, 2019
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.

2 participants