Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail: added DKIM signer #51

Merged
merged 1 commit into from Jun 3, 2019
Merged

Mail: added DKIM signer #51

merged 1 commit into from Jun 3, 2019

Conversation

lukaspijak
Copy link
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
Member

@dg dg commented May 1, 2018

Oh, thanks!

@dg dg merged commit eac447f into nette:master Jun 3, 2019
2 checks passed
dg pushed a commit that referenced this issue Jun 3, 2019
dg pushed a commit that referenced this issue Jun 3, 2019
dg pushed a commit that referenced this issue Jun 3, 2019
dg pushed a commit that referenced this issue Jun 3, 2019
dg pushed a commit that referenced this issue Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants