File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
modules/simple-java-mail/src/test/java/org/simplejavamail/mailer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 66import org .junit .Before ;
77import org .junit .Test ;
88import org .simplejavamail .api .email .Email ;
9- import org .simplejavamail .api .email .EmailAssert ;
109import org .simplejavamail .api .email .EmailPopulatingBuilder ;
1110import org .simplejavamail .api .email .config .DkimConfig ;
1211import org .simplejavamail .api .mailer .CustomMailer ;
@@ -309,6 +308,7 @@ public void testDKIMPriming()
309308 .dkimPrivateKeyData (new ByteArrayInputStream (parseBase64Binary (privateDERkeyBase64 )))
310309 .dkimSigningDomain ("supersecret-testing-domain.com" )
311310 .dkimSelector ("dkim1" )
311+ .excludedHeadersFromDkimDefaultSigningList ("Reply-To" )
312312 .build ());
313313 MimeMessage dkimSignedMessage = EmailConverter .emailToMimeMessage (emailPopulatingBuilder .buildEmail ());
314314 // success, hooking into the DKIM library did not produce an error
@@ -337,7 +337,7 @@ public void testDKIMPriming()
337337 "s=dkim1;" ,
338338 "d=supersecret-testing-domain.com;" ,
339339340- "h=Content-Type:MIME-Version:Subject:Message-ID:To:Reply-To:From:Date;" );
340+ "h=Content-Type:MIME-Version:Subject:Message-ID:To:" + /* Reply-To:*/ " From:Date;" );
341341 }
342342
343343 @ Test
You can’t perform that action at this time.
0 commit comments