laminas / laminas-mime

Create and parse MIME messages and parts
https://docs.laminas.dev/laminas-mime/
BSD 3-Clause "New" or "Revised" License
29 stars 23 forks source link

laminas/laminas-mail should be a requirement, not only require-dev #9

Closed OskarStark closed 3 years ago

OskarStark commented 4 years ago

Bug Report

Q A
Version(s) 2.7.2

Summary

Current behavior

In Decode.php line 150:

  Attempted to load class "Headers" from namespace "Laminas\Mail".
  Did you forget a "use" statement for "Symfony\Component\Mime\Header\Headers"?

laminas/laminas-mail should be a dependency of this library

How to reproduce

$message = Laminas\Mime\Message::createFromString('foo');

Expected behavior

No error, because of installed dependency: Screenshot 2020-01-27 13 45 52

Composer info

Screenshot 2020-01-27 13 46 51

weierophinney commented 4 years ago

Unfortunately, this would create a circular dependency situation. We likely need to move that functionality from the mail package into this one.

weierophinney commented 3 years ago

This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee. If you have a security issue, please follow our security reporting guidelines. If you wish to take on the role of maintainer, please nominate yourself

If you are looking for an actively maintained package alternative, we recommend: