removed MIME-Version, it gets duplicated#330
removed MIME-Version, it gets duplicated#330sandropons wants to merge 1 commit intotlovett1:masterfrom sandropons:sandropons-patch-duphead-mimever
Conversation
it seems that Wordpress phpmailer already inserts MIME-Version in mail headers. When "custom contact form" plugin sends the notification email, it adds the MIME-Version header and it gets duplicated. Servers may not accept the mail, resulting the error: 554 Transaction failed: Duplicate header 'MIME-Version'.
|
👍 I am encountering this same problem, sending through Amazon SES. This seems to be a common problem for many Wordpress plugins, as a simple google search for "wordpress duplicate mime-version" shows. |
|
@tlovett1 is there any chance you would merge and release this in the near future? PHPMailer in Wordpress Core clearly adds the same header (and appears to have done so for some time): https://github.com/WordPress/WordPress/blob/5eb452d15b4d99fcd19bc97dd53876547c7b2655/wp-includes/class-phpmailer.php#L2110 Also, the Since the core |
it seems that Wordpress phpmailer already inserts MIME-Version in mail headers.
When "custom contact form" plugin sends the notification email, it adds the MIME-Version header and it gets duplicated.
Servers may not accept the mail, resulting the error: 554 Transaction failed: Duplicate header 'MIME-Version'.