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

Adds two new mime type constants in email headers #17

Closed icetee closed 3 years ago

icetee commented 3 years ago
Q A
Documentation yes
Bugfix yes
BC Break no
New Feature no
RFC no
QA no

Description

This is not really a bug fix but it extends the set of mime types in the class constants. I would optimize my system’s email sending strategy. You can manually specify the type as a string, but since these are existing types, it would be nice if I could refer to them as constants.

References: https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-structure https://www.emailmarketingtipps.de/2018/02/19/amp-for-email-controversies

Ocramius commented 3 years ago

Wasn't AMP supposed to be dead/defunct, and also pretty much an anti-web standard that posed user-agent lock-in?

icetee commented 3 years ago

We can throw away the AMP. The text/watch-html, on the other hand, is based on standard HTML. Do you think it can be included?

froschdesign commented 3 years ago

This component is in security-only maintenance mode and this means that the current pull request should be closed automatically but something went wrong.

But the door is open for new maintainers! Please see the readme file for more informations: https://github.com/laminas/laminas-mime#laminas-mime