Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

addIdHeader() produces duplicate Message-ID header #984

Closed
ThomasLandauer opened this issue Aug 9, 2017 · 2 comments
Closed

addIdHeader() produces duplicate Message-ID header #984

ThomasLandauer opened this issue Aug 9, 2017 · 2 comments

Comments

@ThomasLandauer
Copy link
Contributor

When adding a Message-ID header with $message->getHeaders()->addIdHeader('Message-ID', 'foo@example.com'); the resulting email has two (!) Message-IDs:

  • the one automatically created by Swift Mailer
  • the one being passed into addIdHeader()
@Rotzbua
Copy link
Contributor

Rotzbua commented Aug 9, 2017

Swiftmailer version?
PHP version?

@ThomasLandauer
Copy link
Contributor Author

swiftmailer/swiftmailer v6.0.1
PHP Version 7.0.14

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants